[pjsip] Problem to call with pjsip on some network
Oliver Carr
oliver.carr at gmail.com
Wed Oct 8 06:54:27 EDT 2008
Hi samuel,
From what I remember it looks like a problem with the FROM tag.
I will prob jailbreak my iPhone 2.x where x is latest soon. Need any
help testing pjsip for the iphone?
Cheers,
Oliver
2008/10/8 samuel.vinson <samuelv at laposte.net>:
> Hi Benny,
>
> I don't understand something, I tried to use pjsip with some wifi network.
> And when I use wifi network + certificat I can register and receive a call
> but I can't called someone.
> I extract trace from SIP SW on Mac that it works and I compare with my pjsip
> trace. And I didn't find where is the problem could you help me?
>
> I suspect two things :
> - pjsip doesn't include < and > in to and from fields
> - pjsip include route field
>
> Samuel
>
> With Symphonie on Mac sip works.
>
> Frame 24 (851 bytes on wire, 851 bytes captured)
> Ethernet II, Src: AppleCom_aa:84:c6 (00:11:24:aa:84:c6), Dst:
> 96:2f:be:d4:1a:8b (96:2f:be:d4:1a:8b)
> Internet Protocol, Src: 192.168.27.17 (192.168.27.17), Dst: 172.17.20.241
> (172.17.20.241)
> User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
> Session Initiation Protocol
> Request-Line: INVITE sip:**@172.17.20.241 SIP/2.0
> Message Header
> Via: SIP/2.0/UDP 192.168.27.17:5060;rport;branch=z9hG4bK1542746573
> From: <sip:09503YYYYY at freephonie.net>;tag=384461480
> To: <sip:**@172.17.20.241>
> Call-ID: 2124692404 at 192.168.27.17
> CSeq: 20 INVITE
> Contact: <sip:09503YYYYY at 192.168.27.17:5060>
> Max-Forwards: 70
> User-Agent: symPhonie Mac Softphone
> Subject: phone call
> Expires: 120
> Supported: 100rel
> Allow: INVITE, ACK, UPDATE, INFO, CANCEL, BYE, OPTIONS, REFER,
> SUBSCRIBE, NOTIFY, MESSAGE
> Content-Type: application/sdp
> Content-Length: 269
> Message Body
> Session Description Protocol
> Session Description Protocol Version (v): 0
> Owner/Creator, Session Id (o): - 3432369855 3432369855 IN IP4
> 192.168.27.17
> Session Name (s): pjmedia
> Connection Information (c): IN IP4 192.168.27.17
> Time Description, active time (t): 0 0
> Media Description, name and address (m): audio 30000 RTP/AVP 0 8
> 101
> Media Attribute (a): rtcp:30001 IN IP4 192.168.27.17
> Media Attribute (a): rtpmap:0 PCMU/8000
> Media Attribute (a): rtpmap:8 PCMA/8000
> Media Attribute (a): sendrecv
> Media Attribute (a): rtpmap:101 telephone-event/8000
> Media Attribute (a): fmtp:101 0-15
>
> With pjsip on iphone doesn't work :-(
>
> 21:16:05.350 pjsua_core.c TX 922 bytes Request msg INVITE/cseq=13852
> (tdta0x88e600) to UDP 172.17.20.241:5062:
> INVITE sip:**1 at 172.17.20.241 SIP/2.0
> Via: SIP/2.0/UDP
> 192.168.27.17:5060;rport;branch=z9hG4bKPjoHMe2RAJ1s621QCOwF-B19ZCuMwRI3yM
> Max-Forwards: 70
> From: sip:095070XXXX at 172.17.20.241;tag=W5d7cz1LyGkoiFJPao0Q5KmnA6AzKn.0
> To: sip:**1 at 172.17.20.241
> Contact: <sip:095070XXXX at 192.168.27.17:5060>
> Call-ID: fmGia4undc6aIoaF9VBxYo7YQdLqhEaZ
> CSeq: 13852 INVITE
> Route: <sip:172.17.20.241:5062;transport=udp;lr>
> Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER,
> MESSAGE, OPTIONS
> Supported: replaces, 100rel, norefersub
> User-Agent: Siphon PjSip v1.0-rc4-trunk/darwin
> Content-Type: application/sdp
> Content-Length: 278
>
> v=0
> o=- 3432395765 3432395765 IN IP4 192.168.27.17
> s=pjmedia
> c=IN IP4 192.168.27.17
> t=0 0
> a=X-nat:0
> m=audio 4000 RTP/AVP 0 8 101
> a=rtcp:4001 IN IP4 192.168.27.17
> a=rtpmap:0 PCMU/8000
> a=rtpmap:8 PCMA/8000
> a=sendrecv
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
>
>
> Créez votre adresse électronique prenom.nom at laposte.net
> 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
More information about the pjsip
mailing list