Problem araising due to the changing of service provider!!

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Problem araising due to the changing of service provider!!

Postby mohankumar » Mon Mar 12, 2007 7:53 am

I have used Binphone as the servive provider and it uses 91 as the prefix.Now they have changed to some other service provider I am getting authentication error since the other service provider is using 0109# as the prefix for the number...Please help me to solve the problem.Let me know if there is any solution to solve this issue.

Please tell me what are the things to be edited in configuration files!!
mohankumar
 
Posts: 53
Joined: Mon Jan 22, 2007 5:40 am
Location: India

Postby enjay » Mon Mar 12, 2007 12:33 pm

Have you called Binfone as they dial string should not have anything to do with authentication errors..

Make sure they are showing up in your registry

iax2 show registry
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

repeat post

Postby devafree » Mon Mar 12, 2007 6:12 pm

Remove the leading 0109# , and leave it only before the ${EXTEN}, like this. I have put prefix 9, you can use whatever you normally used. If it is for sify , you have to add a 00 also as the number for say USA has to go out as 0109#001NXXNXXXXXX. Hope it helps.

; dial an 800 outbound number
exten => _9800NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9800NXXXXXX,2,Dial(${TRUNK}/0109#00${EXTEN:1},,tTo)
exten => _9800NXXXXXX,3,Hangup

Regards

devafree
devafree
 
Posts: 180
Joined: Wed Sep 20, 2006 5:03 pm

Postby devafree » Mon Mar 12, 2007 6:17 pm

Also, do not use any Register URI in the sip.conf.

:)
devafree
 
Posts: 180
Joined: Wed Sep 20, 2006 5:03 pm

Sample working sip.conf authentication

Postby devafree » Mon Mar 12, 2007 6:22 pm

[authentication]
;for sify sip termination service
[sip server ip]
type=peer
host=sip.server.ip
username=
secret=
fromuser=
fromdomain=sip.server.ip
context=default ; the context you use as per scratch install
insecure=very
canreinvite=no
diallow=all
allow=g729
devafree
 
Posts: 180
Joined: Wed Sep 20, 2006 5:03 pm

Postby devafree » Mon Mar 12, 2007 6:30 pm

exten => _91800NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91800NXXXXXX,2,Dial(${TRUNK}/0109#00${EXTEN:1},,tTo)
exten => _91800NXXXXXX,3,Hangup

I forgot to put the country code for USA there :) in the prev post

devafree
devafree
 
Posts: 180
Joined: Wed Sep 20, 2006 5:03 pm


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 53 guests