Hi,
on our server we have a2billing and asterisk and Debian latest version and also Parallel plesk, it was not so easy to find why there was problem with context a2billing, string include didn’t work, but now there is problem that whenever I make call it looks like that system doesn’t know where it send that call, here is the log:
o=3cxVCE 143424210 246579030 IN IP4 address of the softphone
s=3cxVCE Audio Call
c=IN IP4 address of the softphone
t=0 0
m=audio 40044 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
m=video 40046 RTP/AVP 34
c=IN IP4 address of the softphone
a=rtpmap:34 H263/90000
a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
a=sendrecv
<------------->
— (14 headers 18 lines) —
Sending to address of the softphone:58857 (NAT)
Using INVITE request as basis request - ZDBlMWQ3ZDVlZTEzYzM3ZjMyZTU4OGYxMWI0Mjk5NjM.
Found peer ‘0646679158’ for ‘0646679158’ from address of the softphone:58857
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 3
Found RTP audio format 101
Found audio description format PCMU for ID 0
Found audio description format PCMA for ID 8
Found audio description format GSM for ID 3
Found audio description format telephone-event for ID 101
Found RTP video format 34
Found video description format H263 for ID 34
Capabilities: us - 0x10e (gsm|ulaw|alaw|g729), peer - audio=0xe (gsm|ulaw|alaw)/video=0x80000 (h263)/text=0x0 (nothing), combined - 0xe (gsm|ulaw|alaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port address of the softphone:40044
Looking for telephone number in a2billing (domain address of the server)
list_route: hop: <sip:0646679158@address of the softphone:58857;transport=UDP>
<— Transmitting (NAT) to address of the softphone:58857 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.2.78:58857;branch=z9hG4bK-d8754z-930ca85ebf13d21c-1—d8754z-;received=address of the softphone;rport=58857
From: “pc”<sip:0646679158@address of the server:5060>;tag=2a46d213
To: <sip:telephone number@address of the server:5060>
Call-ID: ZDBlMWQ3ZDVlZTEzYzM3ZjMyZTU4OGYxMWI0Mjk5NjM.
CSeq: 2 INVITE
Server: Asterisk PBX 1.8.11.1-1digium1~squeeze
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
upported: replaces, timer
Contact: <sip:telephone number@address of the server:5060>
Content-Length: 0
<------------>
Audio is at 14836
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Adding codec 0x2 (gsm) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
<— Reliably Transmitting (NAT) to address of the softphone:58857 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.78:58857;branch=z9hG4bK-d8754z-930ca85ebf13d21c-1—d8754z-;received=address of the softphone;rport=58857
From: “pc”<sip:0646679158@address of the server:5060>;tag=2a46d213
To: <sip:telephone number@address of the server:5060>;tag=as4d79e82c
Call-ID: ZDBlMWQ3ZDVlZTEzYzM3ZjMyZTU4OGYxMWI0Mjk5NjM.
CSeq: 2 INVITE
Server: Asterisk PBX 1.8.11.1-1digium1~squeeze
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:telephone number@address of the server:5060>
Content-Type: application/sdp
Content-Length: 325
v=0
o=root 2069194054 2069194054 IN IP4 address of the server
s=Asterisk PBX 1.8.11.1-1digium1~squeeze
c=IN IP4 address of the server
t=0 0
m=audio 14836 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
m=video 0 RTP/AVP 34
<------------>
Retransmitting #1 (NAT) to address of the softphone:58857:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.78:58857;branch=z9hG4bK-d8754z-930ca85ebf13d21c-1—d8754z-;received=address of the softphone;rport=58857
From: “pc”<sip:0646679158@address of the server:5060>;tag=2a46d213
To: <sip:telephone number@address of the server:5060>;tag=as4d79e82c
Call-ID: ZDBlMWQ3ZDVlZTEzYzM3ZjMyZTU4OGYxMWI0Mjk5NjM.
CSeq: 2 INVITE
Server: Asterisk PBX 1.8.11.1-1digium1~squeeze
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:telephone number@address of the server:5060>
Content-Type: application/sdp
Content-Length: 325
v=0
o=root 2069194054 2069194054 IN IP4 address of the server
s=Asterisk PBX 1.8.11.1-1digium1~squeeze
c=IN IP4 address of the server
t=0 0
m=audio 14836 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
m=video 0 RTP/AVP 34
<— SIP read from UDP:address of the softphone:58857 —>
ACK sip:telephone number@address of the server:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.78:58857;branch=z9hG4bK-d8754z-cd78e9166e1b6967-1—d8754z-;rport
Max-Forwards: 70
Contact: <sip:0646679158@address of the softphone:58857;transport=UDP>
To: <sip:telephone number@address of the server:5060>;tag=as4d79e82c
From: “pc”<sip:0646679158@address of the server:5060>;tag=2a46d213
Call-ID: ZDBlMWQ3ZDVlZTEzYzM3ZjMyZTU4OGYxMWI0Mjk5NjM.
CSeq: 2 ACK
User-Agent: 3CXPhone 6.0.25732.0
Authorization: Digest username=“0646679158”,realm=“asterisk”,nonce=“5e9a183c”,uri=“sip:telephone number@address of the server:5060”,response=“8594f87b6e565e2931239c3dd791c6e9”,algorithm=MD5
Content-Length: 0
<------------->
— (11 headers 0 lines) —
<— SIP read from UDP:address of the softphone:58857 —>
ACK sip:telephone number@address of the server:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.78:58857;branch=z9hG4bK-d8754z-cd78e9166e1b6967-1—d8754z-;rport
Max-Forwards: 70
Contact: <sip:0646679158@address of the softphone:58857;transport=UDP>
To: <sip:telephone number@address of the server:5060>;tag=as4d79e82c
From: “pc”<sip:0646679158@address of the server:5060>;tag=2a46d213
Call-ID: ZDBlMWQ3ZDVlZTEzYzM3ZjMyZTU4OGYxMWI0Mjk5NjM.
CSeq: 2 ACK
User-Agent: 3CXPhone 6.0.25732.0
Authorization: Digest username=“0646679158”,realm=“asterisk”,nonce=“5e9a183c”,uri=“sip:telephone number@address of the server:5060”,response=“8594f87b6e565e2931239c3dd791c6e9”,algorithm=MD5
Content-Length: 0
<------------->
— (11 headers 0 lines) —
Scheduling destruction of SIP dialog ‘ZDBlMWQ3ZDVlZTEzYzM3ZjMyZTU4OGYxMWI0Mjk5NjM.’ in 9472 ms (Method: ACK)
set_destination: Parsing <sip:0646679158@address of the softphone:58857;transport=UDP> for address/port to send to
set_destination: set destination to address of the softphone:58857
Reliably Transmitting (NAT) to address of the softphone:58857:
BYE sip:0646679158@address of the softphone:58857;transport=UDP SIP/2.0
Via: SIP/2.0/UDP address of the server:5060;branch=z9hG4bK24b844fd;rport
Max-Forwards: 70
From: <sip:telephone number@address of the server:5060>;tag=as4d79e82c
To: “pc”<sip:0646679158@address of the server:5060>;tag=2a46d213
Call-ID: ZDBlMWQ3ZDVlZTEzYzM3ZjMyZTU4OGYxMWI0Mjk5NjM.
CSeq: 102 BYE
User-Agent: Asterisk PBX 1.8.11.1-1digium1~squeeze
Proxy-Authorization: Digest username=“0646679158”, realm=“asterisk”, algorithm=MD5, uri=“sip:address of the server”, nonce="", response="c9a60ff3026109800df9fe8d600e8ca2"
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0
Any suggestion please?
Thank you.
