[pjsip] pjsip and televantage

Khurram Aziz khurram at sharpcoders.net
Tue May 6 16:29:23 EDT 2008


I am trying to use pjsip (Sipek2, http://code.google.com/p/sipek2) with
Televantage (http://www.vertical.com/products-televantage.html) as SIP
Server....

I can register with the server; but failing to make/receive calls...I am
attaching relevant pjsip.log if anyone of you can take a look and suggest
the solution....


 01:14:52.189   pjsua_call.c Making call with acc #1 to
sip:8001 at 192.168.10.50
 01:14:52.189    dlg081A00AC UAC dialog created
 01:14:52.189    dlg081A00AC Module mod-invite added as dialog usage,
data=06D92584
 01:14:52.189    dlg081A00AC Session count inc to 2 by mod-invite
 01:14:52.189    dlg081A00AC Module mod-100rel added as dialog usage,
data=081A1450
 01:14:52.189    dlg081A00AC 100rel module attached
 01:14:52.189    inv081A00AC UAC invite session created for dialog
dlg081A00AC
 01:14:52.189       endpoint Request msg INVITE/cseq=11798 (tdta08190060)
created.
 01:14:52.189    inv081A00AC Sending Request msg INVITE/cseq=11798
(tdta08190060)
 01:14:52.189    dlg081A00AC Sending Request msg INVITE/cseq=11798
(tdta08190060)
 01:14:52.189    tsx081A14CC Transaction created for Request msg
INVITE/cseq=11797 (tdta08190060)
 01:14:52.189    tsx081A14CC Sending Request msg INVITE/cseq=11797
(tdta08190060) in state Null
 01:14:52.189  sip_resolve.c Target '192.168.10.50:0' type=Unspecified
resolved to '192.168.10.50:5060' type=UDP
 01:14:52.189   pjsua_core.c TX 988 bytes Request msg INVITE/cseq=11797
(tdta08190060) to UDP 192.168.10.50:5060:
INVITE sip:8001 at 192.168.10.50 SIP/2.0
Via: SIP/2.0/UDP
192.168.10.16:5060;rport;branch=z9hG4bKPj526bbe6c3368479fbe8b9a1b8c361468
Max-Forwards: 70
From: "854" <sip:854 at 192.168.10.50>;tag=a1e2967c52824eba983bcd628601eda7
To: sip:8001 at 192.168.10.50
Contact: "854" <sip:854 at 192.168.10.16:5060;transport=UDP>
Call-ID: f231bc9ef2bd4a06afa46e22d404638a
CSeq: 11797 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, PUBLISH,
REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, norefersub
User-Agent: SIPek on PJSUA v0.8.0/win32
Content-Type: application/sdp
Content-Length:   381

v=0
o=- 3419111692 3419111692 IN IP4 192.168.10.16
s=pjmedia
c=IN IP4 192.168.10.16
t=0 0
a=X-nat:0
m=audio 4000 RTP/AVP 3 0 117 102 103 101
a=rtcp:4001 IN IP4 192.168.10.16
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:117 iLBC/8000
a=fmtp:117 mode=20
a=rtpmap:102 speex/8000
a=rtpmap:103 speex/16000
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

--end msg--
 01:14:52.189    tsx081A14CC State changed from Null to Calling,
event=TX_MSG
 01:14:52.189    dlg081A00AC Transaction tsx081A14CC state changed to
Calling
 01:14:52.193 sip_endpoint.c Processing incoming message: Response msg
100/INVITE/cseq=11797 (rdata06D85874)
 01:14:52.193   pjsua_core.c RX 484 bytes Response msg 100/INVITE/cseq=11797
(rdata06D85874) from UDP 192.168.10.50:5060:
SIP/2.0 100 Trying
Call-ID: f231bc9ef2bd4a06afa46e22d404638a
CSeq: 11797 INVITE
From: "854" <sip:854 at 192.168.10.50>;tag=a1e2967c52824eba983bcd628601eda7
To: <sip:8001 at 192.168.10.50>;tag=192.168.10.50+1+2ea0004+e6f36bef
Via: SIP/2.0/UDP
192.168.10.16:5060;rport=5060;branch=z9hG4bKPj526bbe6c3368479fbe8b9a1b8c3614
68
Supported: replaces
Supported: 100rel
Contact: <sip:8001 at 192.168.10.50>
Content-Length: 0
User-Agent: TeleVantage-UA/7.50.4898
Server: TeleVantage-UA/7.50.4898


--end msg--
 01:14:52.193    tsx081A14CC Incoming Response msg 100/INVITE/cseq=11797
(rdata06D85874) in state Calling
 01:14:52.193    tsx081A14CC State changed from Calling to Proceeding,
event=RX_MSG
 01:14:52.193    dlg081A00AC Received Response msg 100/INVITE/cseq=11797
(rdata06D85874)
 01:14:52.193    dlg081A00AC Transaction tsx081A14CC state changed to
Proceeding
 01:14:52.197 sip_endpoint.c Processing incoming message: Response msg
400/INVITE/cseq=11797 (rdata06D85874)
 01:14:52.197   pjsua_core.c RX 633 bytes Response msg 400/INVITE/cseq=11797
(rdata06D85874) from UDP 192.168.10.50:5060:
SIP/2.0 400 Bad Request
Call-ID: f231bc9ef2bd4a06afa46e22d404638a
CSeq: 11797 INVITE
From: "854" <sip:854 at 192.168.10.50>;tag=a1e2967c52824eba983bcd628601eda7
To: <sip:8001 at 192.168.10.50>;tag=192.168.10.50+1+2ea0004+e6f36bef
Via: SIP/2.0/UDP
192.168.10.16:5060;rport=5060;branch=z9hG4bKPj526bbe6c3368479fbe8b9a1b8c3614
68
Supported: replaces
Supported: 100rel
Contact: <sip:8001 at 192.168.10.50>
Content-Length: 0
Warning: 399 192.168.10.50 "SDP_GET_SESSION_INFO() failed;
err:7('SDP_ERROR_MALFORMED_NUMBER') [pos 0 on line 'a=rtcp:4001 IN IP4
192.168.10.16"
User-Agent: TeleVantage-UA/7.50.4898
Server: TeleVantage-UA/7.50.4898


--end msg--
 01:14:52.197    tsx081A14CC Incoming Response msg 400/INVITE/cseq=11797
(rdata06D85874) in state Proceeding
 01:14:52.197       endpoint Request msg ACK/cseq=11797 (tdta08191068)
created.
 01:14:52.197   pjsua_core.c TX 362 bytes Request msg ACK/cseq=11797
(tdta08191068) to UDP 192.168.10.50:5060:
ACK sip:8001 at 192.168.10.50 SIP/2.0
Via: SIP/2.0/UDP
192.168.10.16:5060;rport;branch=z9hG4bKPj526bbe6c3368479fbe8b9a1b8c361468
Max-Forwards: 70
From: "854" <sip:854 at 192.168.10.50>;tag=a1e2967c52824eba983bcd628601eda7
To: sip:8001 at 192.168.10.50;tag=192.168.10.50+1+2ea0004+e6f36bef
Call-ID: f231bc9ef2bd4a06afa46e22d404638a
CSeq: 11797 ACK
Content-Length:  0


--end msg--






More information about the pjsip mailing list