Hi,
We want Bayonne2 to accept incoming calls from our sip-provider. We
created several scripts that register with the provider.
> telnet localhost 5555
-> reg
remote userid type status
89.184.172.53 357123206 friend active
89.184.172.53 dtmf_say friend active
213.239.164.175 3544vc01 friend active
However none of them seems to accept any calls. Bayonne sends the SIP
message '404 Not Found' back to our sip provider (sip trace below).
Sample test script:
-----
register.sip proxy=89.184.172.53 userid=357123206 secret=ghjghjop
uri=sip:[EMAIL PROTECTED]
play &number 123
sleep 500ms
play &number 123
exit
------
Also, the debug output from bayonne -vvv doesn't show anything useful to us:
sip: event 0002; cid=0, did=0, rid=1, instance=2
sip: event 0001; cid=0, did=0, rid=1, instance=5
registration for 3544vc01 confirmed for 180 seconds
sip: event 0002; cid=0, did=0, rid=3, instance=5
sip: event 0002; cid=0, did=0, rid=2, instance=5
sip: event 0001; cid=0, did=0, rid=3, instance=4
registration for 357123206 confirmed for 180 seconds
sip: event 0001; cid=0, did=0, rid=2, instance=5
registration for dtmf_say confirmed for 180 seconds
(....)
sip: event 0005; cid=17, did=18, rid=0, instance=3
sip: event 0019; cid=17, did=-1, rid=0, instance=3
sip: event 001b; cid=0, did=0, rid=0, instance=3
sip: event 001b; cid=0, did=0, rid=0, instance=5
sip: event 001a; cid=17, did=-1, rid=0, instance=3
Can anyone help me to get it working? Or tell me to get more specific
debug output?
thanks in advance,
Egbert Groot,
Voiceworks BV,
The Netherlands.
Sip trace:
-----
U 89.184.172.53:5060 -> 89.184.168.14:5060
INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0.
Record-Route: <sip:89.184.172.53;r2=on;lr=on;ftag=as0f8382fe>.
Record-Route: <sip:89.184.172.53:5080;r2=on;lr=on;ftag=as0f8382fe>.
Via: SIP/2.0/UDP 89.184.172.53;branch=z9hG4bK4511.19ca3b46.0.
Via: SIP/2.0/UDP 213.239.164.176:5070;branch=z9hG4bK0518e921.
From: "unknown" <sip:[EMAIL PROTECTED]>;tag=as0f8382fe.
To: <sip:[EMAIL PROTECTED]:5080>.
Contact: <sip:[EMAIL PROTECTED]:5070>.
Call-ID: [EMAIL PROTECTED]
CSeq: 102 INVITE.
User-Agent: unknown.
Max-Forwards: 69.
Remote-Party-ID: "unknown" <sip:[EMAIL PROTECTED]>.
Date: Thu, 24 Jan 2008 15:17:09 GMT.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Content-Type: application/sdp.
Content-Length: 267.
.
v=0.
o=root 3421 3421 IN IP4 213.239.164.176.
s=session.
c=IN IP4 213.239.164.176.
t=0 0.
m=audio 14354 RTP/AVP 8 3 0 101.
a=rtpmap:8 PCMA/8000.
a=rtpmap:3 GSM/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=silenceSupp:off - - - -.
U 89.184.168.14:5060 -> 89.184.172.53:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 89.184.172.53;branch=z9hG4bK4511.19ca3b46.0.
Via: SIP/2.0/UDP 213.239.164.176:5070;branch=z9hG4bK0518e921.
From: "unknown" <sip:[EMAIL PROTECTED]>;tag=as0f8382fe.
To: <sip:[EMAIL PROTECTED]:5080>.
Call-ID: [EMAIL PROTECTED]
CSeq: 102 INVITE.
User-Agent: GNU Bayonne.
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, MESSAGE,
INFO, REFER, UPDATE.
Content-Length: 0.
.
U 89.184.168.14:5060 -> 89.184.172.53:5060
SIP/2.0 101 Dialog Establishement.
Via: SIP/2.0/UDP 89.184.172.53;branch=z9hG4bK4511.19ca3b46.0.
Via: SIP/2.0/UDP 213.239.164.176:5070;branch=z9hG4bK0518e921.
Record-Route: <sip:89.184.172.53;r2=on;lr=on;ftag=as0f8382fe>.
Record-Route: <sip:89.184.172.53:5080;r2=on;lr=on;ftag=as0f8382fe>.
From: "unknown" <sip:[EMAIL PROTECTED]>;tag=as0f8382fe.
To: <sip:[EMAIL PROTECTED]:5080>;tag=394946554.
Call-ID: [EMAIL PROTECTED]
CSeq: 102 INVITE.
Contact: <sip:[EMAIL PROTECTED]:5060>.
User-Agent: GNU Bayonne.
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, MESSAGE,
INFO, REFER, UPDATE.
Content-Length: 0.
.
U 89.184.168.14:5060 -> 89.184.172.53:5060
SIP/2.0 404 Not Found.
Via: SIP/2.0/UDP 89.184.172.53;branch=z9hG4bK4511.19ca3b46.0.
Via: SIP/2.0/UDP 213.239.164.176:5070;branch=z9hG4bK0518e921.
From: "unknown" <sip:[EMAIL PROTECTED]>;tag=as0f8382fe.
To: <sip:[EMAIL PROTECTED]:5080>;tag=394946554.
Call-ID: [EMAIL PROTECTED]
CSeq: 102 INVITE.
User-Agent: GNU Bayonne.
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, MESSAGE,
INFO, REFER, UPDATE.
Content-Length: 0.
-----
--
E.W. Groot
[EMAIL PROTECTED]
Voiceworks B.V.
De Binderij 65-A1
1321 EC Almere
Tel:
Fax:
Internet:
E-mail: 036-5468855
036-5467877
http://www.voiceworks.nl
[EMAIL PROTECTED]
_______________________________________________
Bayonne-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bayonne-devel