[Asterisk-Users] Re:SIP Problem
Adnan Ahmed
adnan at xnet.com.pk
Mon Nov 22 14:11:09 MST 2004
I am very thankful to you people for helping me as much i imagine but i still need your help, problem is that i am not be able to dial from my analog phone conected to fxs card to my sip phone i change my configs but still no result.
sip.conf
[general]
port=5060
bindaddr=192.168.10.193
allow=all
[101]
username=101
type=friend
secret=12345678
host=dynamic
context=from-sip
callerid="101"<101>
defaultip=192.168.10.176
extensions.conf
[globals]
101=SIP/101
[incoming]
exten => s,1,Dial(Zap/1,20)
exten => s,2,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Voicemail(u${announce})
exten => s-NOANSWER,2,Goto(incoming,s,1)
exten => s,3,NoOp,$(CALLERID)
include => outgoing
include => from-sip
callerid=yes
[outgoing]
exten => _NXXXXXX,1,Dial/Zap/4/${EXTEN:0}
exten => _0NXXXXXXXX,1,Dial,Zap/4/${EXTEN:0}
exten => _0NXXXXXXXXX,1,Dial,Zap/4/${EXTEN:0}
exten => _0NXXXXXXXXXX,1,Dial,Zap/4/${EXTEN:0}
exten => 101,1,Dial(101,20)
include => from-sip
include => incoming
[sip]
exten => 101,1,Dial(${101,20})
exten => 101,2,VoicemailMain
exten => 101,3,Hangup
include => outgoing
include => from-sip
here are the console output : :-X ).
*cli> --Starting simple switch on 'Zap/1-1'
Executing Dial(" "," ") in
new stack
Called 101
chan_sip.c:497 retrans_pkt: Maximum retries exceeded on call xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx at 192.168.10.193 for seqnp 102 (Request)
No one is available to answer qt this time
Executing VoiceMailMain(" ","") in new stack
Playing 'vm-login' (language 'en' )
chan_sip.c:497 retrans_pkt: Maximum retries exceeded on call xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx at 192.168.10.193 for seqnp 102 (Request)
Username not entered
Executing Hangup(" ","") in new stack
Spawn Extension (outgoing , 101, 3) exited non-zero on 'Zap/1-1'
Hangup 'Zap/1-1'
Thanks in Advance.
More information about the asterisk-users
mailing list