Hi helix.
i am able to make outside calls from my softphone (extensions 1005). only problem is i am not able to receive the calls …
i am am very sure asterisk register with broadvocie . done sip show registry and checked again.
here i am posting the out sip debug peer sip.broadvoice.com
debug results, when dial 732xxxxxxx (sip broadvoice number ) from other pstn number (732xxxyyyy). it shows the status below for your guidance.
mail*CLI>
<-- SIP read from 147.135.8.128:5060:
INVITE sip:732xxxxxxx@aa.bb.cc.dd:5060 SIP/2.0
Call-ID: ff01f6-13@147.135.8.128
CSeq: 1 INVITE
From: "Cooperative Cmm"sip:732xxyyyy@147.135.8.128;user=phone;tag=dfhj
To: "Rizwan Mohammed"sip:1005@aa.bb.cc.dd;user=phone
Via: SIP/2.0/UDP 147.135.8.128:5060
Contact: sip:732xxyyyy@147.135.8.128:5060
Supported: 100rel
RPID-Privacy: party=calling;id-type=subscriber;privacy=off
Remote-Party-ID: sip:732xxyyyy@147.135.8.128;screen=yes;party=calling;privacy=off
Content-Length: 271
Content-Type: application/sdp
v=0
o=2475100407 10 10 IN IP4 147.135.8.247
s=-
c=IN IP4 147.135.8.250
t=0 0
m=audio 13318 RTP/AVP 0 8 2 18 96 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:18 G729/8000
a=rtpmap:96 iLBC/8000
a=rtpmap:101 telephone-event/8000
— (12 headers 12 lines)—
Using INVITE request as basis request - ff01f6-13@147.135.8.128
Sending to 147.135.8.128 : 5060 (NAT)
Found peer 'sip.broadvoice.com’
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 2
Found RTP audio format 18
Found RTP audio format 96
Found RTP audio format 101
Peer audio RTP is at port 147.135.8.250:13318
Found description format PCMU
Found description format PCMA
Found description format G726-32
Found description format G729
Found description format iLBC
Found description format telephone-event
Capabilities: us - 0x4 (ulaw), peer - audio=0x51c (ulaw|alaw|g726|g729|ilbc)/video=0x0 (nothing), combined - 0x4 (ulaw)
Non-codec capabilities: us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Looking for 732xxxxxxx in test (domain aa.bb.cc.dd)
Reliably Transmitting (NAT) to 147.135.8.128:5060:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 147.135.8.128:5060;received=147.135.8.128
From: "Cooperative Cmm"sip:732xxyyyy@147.135.8.128;user=phone;tag=dfhj
To: "Rizwan Mohammed"sip:1005@aa.bb.cc.dd;user=phone;tag=as27743f41
Call-ID: ff01f6-13@147.135.8.128
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Contact: sip:732xxxxxxx@aa.bb.cc.dd
Content-Length: 0
mail*CLI>
<-- SIP read from 147.135.8.128:5060:
INVITE sip:732xxxxxxx@aa.bb.cc.dd:5060 SIP/2.0
Call-ID: ff01f6-13@147.135.8.128
CSeq: 1 INVITE
From: "Cooperative Cmm"sip:732xxyyyy@147.135.8.128;user=phone;tag=dfhj
To: "Rizwan Mohammed"sip:1005@aa.bb.cc.dd;user=phone
Via: SIP/2.0/UDP 147.135.8.128:5060
Contact: sip:732xxyyyy@147.135.8.128:5060
Supported: 100rel
RPID-Privacy: party=calling;id-type=subscriber;privacy=off
Remote-Party-ID: sip:732xxyyyy@147.135.8.128;screen=yes;party=calling;privacy=off
Content-Length: 271
Content-Type: application/sdp
v=0
o=2475100407 10 10 IN IP4 147.135.8.247
s=-
c=IN IP4 147.135.8.250
t=0 0
m=audio 13318 RTP/AVP 0 8 2 18 96 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:18 G729/8000
a=rtpmap:96 iLBC/8000
a=rtpmap:101 telephone-event/8000
— (12 headers 12 lines)—
Ignoring this INVITE request
mail*CLI>
<-- SIP read from 147.135.8.128:5060:
ACK sip:1005@aa.bb.cc.dd:5060 SIP/2.0
Call-ID: ff01f6-13@147.135.8.128
CSeq: 1 ACK
From: "Cooperative Cmm"sip:732xxyyyy@147.135.8.128;user=phone;tag=dfhj
To: "Rizwan Mohammed"sip:1005@aa.bb.cc.dd;user=phone;tag=as27743f41
Via: SIP/2.0/UDP 147.135.8.128:5060;received=aa.bb.cc.dd
Content-Length: 0
— (7 headers 0 lines)—
Destroying call 'ff01f6-13@147.135.8.128’
Nov 30 03:03:34 NOTICE[12923]: chan_sip.c:5237 sip_reregister: – Re-registration for
732xxxxxxx@sip.broadvoice.com@sip.broadvoice.com
REGISTER 13 headers, 0 lines
Reliably Transmitting (NAT) to 147.135.8.128:5060:
REGISTER sip:sip.broadvoice.com SIP/2.0
Via: SIP/2.0/UDP aa.bb.cc.dd:5060;branch=z9hG4bK15fe92f5;rport
From: sip:732xxxxxxx@sip.broadvoice.com;tag=as5769012a
To: sip:732xxxxxxx@sip.broadvoice.com
Call-ID: 7881e49e329e93148a62a1f49a@sip.broadvoice.com
CSeq: 345 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Authorization: Digest username=“732xxxxxxx”, realm=“BroadWorks”, algorithm=MD5, uri=“sip:sip.broadvoice.com”,
nonce=“1133294022851”, response=“2a06968f160f91fa21b2ba0ddba9”, opaque=""
Expires: 120
Contact: sip:1005@aa.bb.cc.dd
Event: registration
Content-Length: 0
mail*CLI>
<-- SIP read from 147.135.8.128:5060:
SIP/2.0 200 OK
Call-ID: 7881e49e329e931d06ea548a62a1f49a@sip.broadvoice.com
CSeq: 345 REGISTER
From: sip:732xxxxxxx@sip.broadvoice.com;tag=as5769012a
To: sip:732xxxxxxx@sip.broadvoice.com
Via: SIP/2.0/UDP sip.broadvoice.com:5060;branch=z9hG4bK15fe92f5
Contact: sip:1005@aa.bb.cc.dd
Expires: 30
Authorization: Digest username=“732xxxxxxx”, realm=“BroadWorks”, algorithm=MD5, uri=“sip:sip.broadvoice.com”,
nonce=“1133294022851”, response=“2a06968f160c55ff91fa21b2ba0ddba9”, opaque=""
Event: registration
User-Agent: Asterisk PBX
Content-Length: 0
— (12 headers 0 lines)—
Scheduling destruction of call '7881e49e329e931d06ea548a62a1f49a@sip.broadvoice.com’ in 32000 ms
Nov 30 03:03:35 NOTICE[12923]: chan_sip.c:9659 handle_response_register: Outbound Registration: Expiry for sip.broadvoice.com
is 30 sec (Scheduling reregistration in 23 s)
Destroying call '7881e49e329e931d06ea548a62a1f49a@sip.broadvoice.com’
mail*CLI>
12 headers, 0 lines
Reliably Transmitting (NAT) to 147.135.8.128:5060:
OPTIONS sip:sip.broadvoice.com SIP/2.0
Via: SIP/2.0/UDP aa.bb.cc.dd:5060;branch=z9hG4bK15b0d4bd;rport
From: “asterisk” sip:asterisk@aa.bb.cc.dd;tag=as0763c064
To: sip:sip.broadvoice.com
Contact: sip:asterisk@aa.bb.cc.dd
Call-ID: 610de7d257f6a8e647b62c977a76a276@aa.bb.cc.dd
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Tue, 29 Nov 2005 21:33:48 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0
mail*CLI>
<-- SIP read from 147.135.8.128:5060:
SIP/2.0 200 OK
Call-ID: 610de7d257f6a8e647b62c977a76a276@aa.bb.cc.dd
CSeq: 102 OPTIONS
From: “asterisk” sip:asterisk@aa.bb.cc.dd;tag=as0763c064
To: sip:sip.broadvoice.com
Via: SIP/2.0/UDP aa.bb.cc.dd:5060;branch=z9hG4bK15b0d4bd
Supported: 100rel
Allow: INVITE, BYE, ACK, OPTIONS, CANCEL, PRACK
Accept: application/sdp
Accept-Encoding:
Accept-Language: en
Content-Length: 0
— (12 headers 0 lines)—
Destroying call '610de7d257f6a8e647b62c977a76a276@aa.bb.cc.dd’
Nov 30 03:03:59 NOTICE[12923]: chan_sip.c:5237 sip_reregister: – Re-registration for
732xxxxxxx@sip.broadvoice.com@sip.broadvoice.com
REGISTER 13 headers, 0 lines
Reliably Transmitting (NAT) to 147.135.8.128:5060:
REGISTER sip:sip.broadvoice.com SIP/2.0
Via: SIP/2.0/UDP aa.bb.cc.dd:5060;branch=z9hG4bK446b4110;rport
From: sip:732xxxxxxx@sip.broadvoice.com;tag=as6d9cedb9
To: sip:732xxxxxxx@sip.broadvoice.com
Call-ID: 7881e49e329e931d06ea548a62a1f49a@sip.broadvoice.com
CSeq: 346 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Authorization: Digest username=“732xxxxxxx”, realm=“BroadWorks”, algorithm=MD5, uri=“sip:sip.broadvoice.com”,
nonce=“1133294022851”, response=“2a06968f160c55ff91fa21b2ba0ddba9”, opaque=""
Expires: 120
Contact: sip:1005@aa.bb.cc.dd
Event: registration
Content-Length: 0
mail*CLI>
<-- SIP read from 147.135.8.128:5060:
SIP/2.0 200 OK
Call-ID: 7881e49e329e931d06ea548a62a1f49a@sip.broadvoice.com
CSeq: 346 REGISTER
From: sip:732xxxxxxx@sip.broadvoice.com;tag=as6d9cedb9
To: sip:732xxxxxxx@sip.broadvoice.com
Via: SIP/2.0/UDP sip.broadvoice.com:5060;branch=z9hG4bK446b4110
Contact: sip:1005@aa.bb.cc.dd
Expires: 30
Authorization: Digest username=“732xxxxxxx”, realm=“BroadWorks”, algorithm=MD5, uri=“sip:sip.broadvoice.com”,
nonce=“1133294022851”, response=“2a06968f160c55ff91fa21b2ba0ddba9”, opaque=""
Event: registration
User-Agent: Asterisk PBX
Content-Length: 0
mail*CLI>