[Asterisk-Users] Problem with SIP 407

Marc Fargas asterisk at telenieko.com
Wed Feb 25 14:46:22 MST 2004


I have commented de Republica2 in sip.conf 'cause if I uncomment it neither
Republica and Republica2 register (maybe because they're on the same
gateway?)

Well, inspite it register well when I try tocall any extension It plays
'busy' tone immediately after Asterisk takes the calls I thought it was a
codecs problem but I have another gateway similar with H.323 and hav codecs
configured same way both on asterisk and the gateways, the H.323 one goes
right but the SIP one can't do anything, it just plays around with 'busy'
tones.

In my previous post you can see the output of sip debug on Asterisk when
trying to call an extension, on the gateway side that's what I get:


******** Line : 1, Start Inviting ********
strDes To:<sip:9 at 192.168.2.2:5060;user=phone>, strOri
From:sip:Republica at 192.168.2.2
1-RvSipCallLegMgrCreateCallLeg() ok!
**** Success to rvSdpMsgEncodeToBuf  *****
--> Message Sent (Message type: 0) (call-leg 58e04c)
INVITE sip:9 at 192.168.2.2:5060;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.6.2:5060
Contact: <sip:Republica at 192.168.6.2:5060>
User-Agent: FXS_GW (2asipfxs.106)
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-403d1740-5870d2-7301
To: <sip:9 at 192.168.2.2:5060;user=phone>
Call-ID: 58e04c-c0a80602-13c4-403d1740-5870cd-2a0b at 192.168.2.2
CSeq: 1 INVITE
Content-Type: application/sdp
Content-Length:234

v=0
o=FXS_GW 12367 0 IN IP4 192.168.6.2
s=Audio Session
i=Audio Session
c=IN IP4 192.168.6.2
t=0 0
m=audio 16384 RTP/AVP 18 4 0 8
a=rtpmap:18 G729/8000/1
a=rtpmap:4 G723/8000/1
a=rtpmap:0 PCMU/8000/1
a=rtpmap:8 PCMA/8000/1

1-RVSIP_CALL_LEG_STATE_INVITING
<-- Message Received (Message Type: 1) (call-leg 58e04c)
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.6.2:5060
User-Agent: Asterisk PBX
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER
Contact: <sip:9 at 192.168.2.2>
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-403d1740-5870d2-7301
To: <sip:9 at 192.168.2.2:5060;user=phone> ;tag=as07a0b938
Call-ID: 58e04c-c0a80602-13c4-403d1740-5870cd-2a0b at 192.168.2.2
CSeq: 1 INVITE
Content-Length:0


1-RVSIP_CALL_LEG_STATE_TERMINATED
********************************************
1-Gen_BusyTone






More information about the asterisk-users mailing list