Hello,
Do you any ideas about the reason of this issue?Is it caused by the last call? Do you have enough information with the PAI?
Regards,
Igor.
2014-05-28 13:47 GMT+02:00 Igor Potjevlesch <igor.potjevlesch@gmail.com>:
Hello,
p *msg->pai :
$4 = {type = HDR_PAI_T, name = {
s = 0x7fad2cf8af74 "P-Asserted-Identity: \"0123456789\"<sip:0123456789@a.b.c.d>\r\nContent-Type: application/sdp\r\nContent-Length: 298\r\n\r\nv=0\r\no=root 1751857229 1751857230 IN IP4 a.b.c.d\r\ns=Asterisk PBX 1.6.2.9-2+squeeze3\r\nc=IN IP4 a.b.c.d\r\nt=0 0\r\nm=audio 11886 RTP/AVP 8 3 0 101\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:3 GSM/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=ptime:20\r\na=sendrecv\r\n", len = 19}, body = {
s = 0x7fad2cf8af89 "\"0123456789\"<sip:0123456789@a.b.c.d>\r\nContent-Type: application/sdp\r\nContent-Length: 298\r\n\r\nv=0\r\no=root 1751857229 1751857230 IN IP4 a.b.c.d\r\ns=Asterisk PBX 1.6.2.9-2+squeeze3\r\nc=IN IP4 a.b.c.d\r\nt=0 0\r\nm=audio 11886 RTP/AVP 8 3 0 101\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:3 GSM/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=ptime:20\r\na=sendrecv\r\n", len = 43}, len = 66,
parsed = 0x7fad389a7220, next = 0x7fad2cf8baf0}
p *((p_id_body_t*)msg->pai->parsed) :
$5 = {id = 0x0, num_ids = 0, next = 0x0}
Regards,
Igor.
2014-05-28 13:29 GMT+02:00 Daniel-Constantin Mierla <miconda@gmail.com>:
Hello,
I need now:
p *msg->pai
p *((p_id_body_t*)msg->pai->parsed)
Cheers,
Daniel
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda