simplest dial plan - howto?

Catalog of dial plans
Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: simplest dial plan - howto?

Post by Aaron » Fri Jul 01, 2011 12:12 am

Looks like the same problem with your FritzBox unhappy with the SIP URI and returning a 404.

Have you tried:

Code: Select all

sys.Dial("rregn@88.65.123.186")

regn
Posts: 8
Joined: Thu Jun 23, 2011 4:30 pm

Re: simplest dial plan - howto?

Post by regn » Fri Jul 01, 2011 7:19 am

Dear Aaron,

I didn't - and I'm confused. my accountname rregn has meaning only in sipsorcery, not on the FritzBox.
regards

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: simplest dial plan - howto?

Post by Aaron » Fri Jul 01, 2011 10:43 am

But are you registering the FritzBox with sipsorcery? The problem you've got is you seem to be sending a SIP URI to your FritzBox that it doesn't want to accept. I suggested the previous URI because you may be registering that account on your FritzBox and therefore it should accept calls to it.

regn
Posts: 8
Joined: Thu Jun 23, 2011 4:30 pm

Re: simplest dial plan - howto?

Post by regn » Sat Jul 02, 2011 8:10 am

sorry, again no success -
dialplan changed; SIP provider connected again; Binding checked, make a call - immediately finished, trace:

SIPTransaction=> SIPTransaction=>Request received udp:69.59.142.213:5071<-udp:69.59.142.213:5060
INVITE sip:2487042@sipsorcery.com SIP/2.0
Via: SIP/2.0/UDP 69.59.142.213:5060;branch=z9hG4bK1196119ab9fa684c16a913c9d933f3b210a8cbfb;rport=5060;received=69.59.142.213
Via: SIP/2.0/UDP 84.57.66.22:44896;rport=64732;branch=z9hG4bK47144;received=84.57.66.22
To: <sip:2487042@sipsorcery.com>
From: <sip:rregn@sipsorcery.com>;tag=z9hG4bK35441013
Call-ID: 507590601209@84.57.66.22
CSeq: 2 INVITE
Contact: <sip:rregn@84.57.66.22:44896;transport=udp>
Max-Forwards: 69
User-Agent: Sipdroid/2.3 beta/E15i
Expires: 3600
Authorization: Digest username="rregn",realm="sipsorcery.com",nonce="18816343721005234434",uri="sip:2487042@sipsorcery.com",response="ce07bd6885f5790d81b348c31bbf1bcf",algorithm=MD5
Content-Length: 386
Content-Type: application/sdp
Proxy-ReceivedFrom: udp:84.57.66.22:64732
Proxy-ReceivedOn: udp:69.59.142.213:5060
v=0
o=rregn@sipsorcery.com 0 0 IN IP4 84.57.66.22
s=Session SIP/SDP
c=IN IP4 84.57.66.22
t=0 0
m=audio 21000 RTP/AVP 9 8 0 97 3 106 101
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:97 speex/8000
a=rtpmap:3 GSM/8000
a=rtpmap:106 BV16/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
m=video 21070 RTP/AVP 103
a=rtpmap:103 h263-1998/90000
DialPlan=> Dialplan trace commenced at 02 Jul 2011 01:06:05:378.
DialPlan=> Log message from default dialplan.
DialPlan=> Commencing Dial with: rregn@84.57.66.22.
DialPlan=> ForkCall commencing call leg to sip:rregn@84.57.66.22.
DialPlan=> Switching to sip:rregn@84.57.66.22:5060 via udp:69.59.142.213:5060.
DialPlan=> SDP on UAC call had public IP not mangled, RTP socket 84.57.66.22:21000.
SIPTransaction=> Send Request reliable udp:69.59.142.213:5071->udp:69.59.142.213:5060
INVITE sip:rregn@84.57.66.22 SIP/2.0
Via: SIP/2.0/UDP 69.59.142.213:5071;branch=z9hG4bKa21940c729474166b3c7bb9793f7ca84;rport
To: <sip:rregn@84.57.66.22>
From: <sip:rregn@sipsorcery.com>;tag=1633010080
Call-ID: 79b0c4339eea49f994988b5d43f23bfb
CSeq: 1 INVITE
Contact: <sip:69.59.142.213:5071>
Max-Forwards: 70
User-Agent: www.sipsorcery.com
Content-Length: 386
Content-Type: application/sdp
v=0
o=rregn@sipsorcery.com 0 0 IN IP4 84.57.66.22
s=Session SIP/SDP
c=IN IP4 84.57.66.22
t=0 0
m=audio 21000 RTP/AVP 9 8 0 97 3 106 101
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:97 speex/8000
a=rtpmap:3 GSM/8000
a=rtpmap:106 BV16/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
m=video 21070 RTP/AVP 103
a=rtpmap:103 h263-1998/90000
SIPTransaction=> Received Response udp:69.59.142.213:5071<-udp:69.59.142.213:5060
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 69.59.142.213:5071;branch=z9hG4bKa21940c729474166b3c7bb9793f7ca84;rport
To: <sip:rregn@84.57.66.22>;tag=74DAECDC0054714C
From: <sip:rregn@sipsorcery.com>;tag=1633010080
Call-ID: 79b0c4339eea49f994988b5d43f23bfb
CSeq: 1 INVITE
User-Agent: AVM FRITZ!Box Fon WLAN 7170 29.04.70 (Feb 18 2009)
Content-Length: 0
Proxy-ReceivedFrom: udp:84.57.66.22:5060
Proxy-ReceivedOn: udp:69.59.142.213:5060
SIPTransaction=> Send Request udp:69.59.142.213:5071->udp:69.59.142.213:5060
ACK sip:rregn@84.57.66.22 SIP/2.0
Via: SIP/2.0/UDP 69.59.142.213:5071;branch=z9hG4bKa21940c729474166b3c7bb9793f7ca84;rport
To: <sip:rregn@84.57.66.22>;tag=74DAECDC0054714C
From: <sip:rregn@sipsorcery.com>;tag=1633010080
Call-ID: 79b0c4339eea49f994988b5d43f23bfb
CSeq: 1 ACK
Max-Forwards: 70
Content-Length: 0
DialPlan=> Response 404 Not Found for sip:rregn@84.57.66.22.
DialPlan=> Dialplan cleanup for rregn.
SIPTransaction=> Send Final Response Reliable udp:69.59.142.213:5071->69.59.142.213:5060
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 69.59.142.213:5060;branch=z9hG4bK1196119ab9fa684c16a913c9d933f3b210a8cbfb;rport=5060;received=69.59.142.213
Via: SIP/2.0/UDP 84.57.66.22:44896;rport=64732;branch=z9hG4bK47144;received=84.57.66.22
To: <sip:2487042@sipsorcery.com>
From: <sip:rregn@sipsorcery.com>;tag=z9hG4bK35441013
Call-ID: 507590601209@84.57.66.22
CSeq: 2 INVITE
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, REGISTER, SUBSCRIBE
Content-Length: 0
SIPTransaction=> Send Response retransmit udp:69.59.142.213:5071->udp:69.59.142.213:5060
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 69.59.142.213:5060;branch=z9hG4bK1196119ab9fa684c16a913c9d933f3b210a8cbfb;rport=5060;received=69.59.142.213
Via: SIP/2.0/UDP 84.57.66.22:44896;rport=64732;branch=z9hG4bK47144;received=84.57.66.22
To: <sip:2487042@sipsorcery.com>
From: <sip:rregn@sipsorcery.com>;tag=z9hG4bK35441013
Call-ID: 507590601209@84.57.66.22
CSeq: 2 INVITE
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, REGISTER, SUBSCRIBE
Content-Length: 0
SIPTransaction=> Send Response retransmit udp:69.59.142.213:5071->udp:69.59.142.213:5060
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 69.59.142.213:5060;branch=z9hG4bK1196119ab9fa684c16a913c9d933f3b210a8cbfb;rport=5060;received=69.59.142.213
Via: SIP/2.0/UDP 84.57.66.22:44896;rport=64732;branch=z9hG4bK47144;received=84.57.66.22
To: <sip:2487042@sipsorcery.com>
From: <sip:rregn@sipsorcery.com>;tag=z9hG4bK35441013
Call-ID: 507590601209@84.57.66.22
CSeq: 2 INVITE
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, REGISTER, SUBSCRIBE
Content-Length: 0
SIPTransaction=> Send Response retransmit udp:69.59.142.213:5071->udp:69.59.142.213:5060
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 69.59.142.213:5060;branch=z9hG4bK1196119ab9fa684c16a913c9d933f3b210a8cbfb;rport=5060;received=69.59.142.213
Via: SIP/2.0/UDP 84.57.66.22:44896;rport=64732;branch=z9hG4bK47144;received=84.57.66.22
To: <sip:2487042@sipsorcery.com>
From: <sip:rregn@sipsorcery.com>;tag=z9hG4bK35441013
Call-ID: 507590601209@84.57.66.22
CSeq: 2 INVITE
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, REGISTER, SUBSCRIBE
Content-Length: 0
SIPTransaction=> Send Response retransmit udp:69.59.142.213:5071->udp:69.59.142.213:5060
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 69.59.142.213:5060;branch=z9hG4bK1196119ab9fa684c16a913c9d933f3b210a8cbfb;rport=5060;received=69.59.142.213
Via: SIP/2.0/UDP 84.57.66.22:44896;rport=64732;branch=z9hG4bK47144;received=84.57.66.22
To: <sip:2487042@sipsorcery.com>
From: <sip:rregn@sipsorcery.com>;tag=z9hG4bK35441013
Call-ID: 507590601209@84.57.66.22
CSeq: 2 INVITE
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, REGISTER, SUBSCRIBE
Content-Length: 0
SIPTransaction=> Send Response retransmit udp:69.59.142.213:5071->udp:69.59.142.213:5060
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 69.59.142.213:5060;branch=z9hG4bK1196119ab9fa684c16a913c9d933f3b210a8cbfb;rport=5060;received=69.59.142.213
Via: SIP/2.0/UDP 84.57.66.22:44896;rport=64732;branch=z9hG4bK47144;received=84.57.66.22
To: <sip:2487042@sipsorcery.com>
From: <sip:rregn@sipsorcery.com>;tag=z9hG4bK35441013
Call-ID: 507590601209@84.57.66.22
CSeq: 2 INVITE
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, REGISTER, SUBSCRIBE
Content-Length: 0
SIPTransaction=> Send Response retransmit udp:69.59.142.213:5071->udp:69.59.142.213:5060
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 69.59.142.213:5060;branch=z9hG4bK1196119ab9fa684c16a913c9d933f3b210a8cbfb;rport=5060;received=69.59.142.213
Via: SIP/2.0/UDP 84.57.66.22:44896;rport=64732;branch=z9hG4bK47144;received=84.57.66.22
To: <sip:2487042@sipsorcery.com>
From: <sip:rregn@sipsorcery.com>;tag=z9hG4bK35441013
Call-ID: 507590601209@84.57.66.22
CSeq: 2 INVITE
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, REGISTER, SUBSCRIBE
Content-Length: 0
SIPTransaction=> Send Response retransmit udp:69.59.142.213:5071->udp:69.59.142.213:5060
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 69.59.142.213:5060;branch=z9hG4bK1196119ab9fa684c16a913c9d933f3b210a8cbfb;rport=5060;received=69.59.142.213
Via: SIP/2.0/UDP 84.57.66.22:44896;rport=64732;branch=z9hG4bK47144;received=84.57.66.22
To: <sip:2487042@sipsorcery.com>
From: <sip:rregn@sipsorcery.com>;tag=z9hG4bK35441013
Call-ID: 507590601209@84.57.66.22
CSeq: 2 INVITE
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, REGISTER, SUBSCRIBE
Content-Length: 0
SIPTransaction=> Send Response retransmit udp:69.59.142.213:5071->udp:69.59.142.213:5060
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 69.59.142.213:5060;branch=z9hG4bK1196119ab9fa684c16a913c9d933f3b210a8cbfb;rport=5060;received=69.59.142.213
Via: SIP/2.0/UDP 84.57.66.22:44896;rport=64732;branch=z9hG4bK47144;received=84.57.66.22
To: <sip:2487042@sipsorcery.com>
From: <sip:rregn@sipsorcery.com>;tag=z9hG4bK35441013
Call-ID: 507590601209@84.57.66.22
CSeq: 2 INVITE
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, REGISTER, SUBSCRIBE
Content-Length: 0
DialPlan=> Dialplan trace completed at 02 Jul 2011 01:06:38:593.

Post Reply