| 2 | {{{ |
| 3 | I am using PJSIP 1.12 with iPhone 5.0.. I am getting “Assertion |
| 4 | failed: (sdp_remote && m_rem), function transport_encode_sdp, file |
| 5 | ../src/pjmedia/transport_srtp.c, line 1299.” every time I try to |
| 6 | call certain numbers.. |
| 7 | ... |
| 8 | the problem is when I call from iPhone to a PBX extension that is |
| 9 | connected to the service.. and I I get the above error, to be specific |
| 10 | the code crash only when I pick up the call from that extension.. |
| 11 | |
| 12 | Snippet log: |
| 13 | ... |
| 14 | (normal outgoing initial INVITE until ACK ..) |
| 15 | ... |
| 16 | 15:31:31.393 pjsua_core.c RX 703 bytes Request msg UPDATE/cseq=102 |
| 17 | (rdata0x9061bc) from tcp 10.50.0.4:5060: |
| 18 | UPDATE sip:77999991@10.50.1.10:5060;transport=TCP;ob SIP/2.0 |
| 19 | Via: SIP/2.0/TCP 10.50.0.4:5060;branch=z9hG4bK4b370dd7;rport |
| 20 | Max-Forwards: 70 |
| 21 | From: sip:9874@10.50.0.4;tag=as5a9c25b2 |
| 22 | To: sip:77999991@10.50.0.4;tag=PxbkZXr7smjwglhT87678rIypjrr0tln |
| 23 | Contact: <sip:9874@10.50.0.4:5060;transport=TCP> |
| 24 | Call-ID: F3a8f5vZu0f6JEJFmlN5vIagy-P1De7h |
| 25 | CSeq: 102 UPDATE |
| 26 | User-Agent: TEST |
| 27 | Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, |
| 28 | NOTIFY, INFO, PUBLISH |
| 29 | Supported: replaces, timer |
| 30 | X-asterisk-Info: SIP re-invite (External RTP bridge) |
| 31 | Content-Type: application/sdp |
| 32 | Content-Length: 102 |
| 33 | |
| 34 | v=0 |
| 35 | o=root 2007926168 2007926170 IN IP4 172.16.201.225 |
| 36 | s=TEST |
| 37 | c=IN IP4 172.16.201.225 |
| 38 | t=0 0 |
| 39 | }}} |