On 08/13/2015 03:40 PM, Fred Posner wrote:
On 08/13/2015 03:30 PM, Alex Balashov wrote:
I see a dialog established followed by a
reinvite. Which frame # do you
take to be the "on-hold invite"?
I was taking frame 8 as a new invite. I'll see what I'm doing wrong.
No, it's a reinvite. The distinguishing feature of an in-dialog request
(aka in-dialog invite aka reinvite) is the presence of a To-tag:
To: <sip:+1callerid-did@[PSTN-IPADDRESS]:5060>;tag=gK0e4a212a
The Route headers also give it away:
Route:
<sip:[PUBLIC-KAMAILIO];lr;r2=on;ftag=gK0e4a212a;vst=AAAAABkJAw0IDQ4PAQF2AXIWFwYXGQEWHQc4OjUwNjA-;did=7.a51>
Route:
<sip:127.0.0.8;line=sr-XLSMq0lrx0hrq6lrx0lgX0dzPLkgP9dgTvDWTH2vZH1Se5CmxIuWqyTHF621E-R1E-uaZhRyxCSC-IDEEKR5xhRiZKF5F2SiD2RRKtWDiHD48SKyI.Q1fIwh8sEzemYWeIC*>
These are built from the Record-Routes in the initial INVITE transaction:
Record-Route:
<sip:[PUBLIC-KAMAILIO];r2=on;lr;ftag=gK0e4a212a;vst=AAAAABkJAw0IDQ4PAQF2AXIWFwYXGQEWHQc4OjUwNjA-;did=7.a51>
Record-Route:
<sip:127.0.0.8;line=sr-XLSMq0lrx0hrq6lrx0lgX0dzPLkgP9dgTvDWTH2vZH1Se5CmxIuWqyTHF621E-R1E-uaZhRyxCSC-IDEEKR5xhRiZKF5F2SiD2RRKtWDiHD48SKyI.Q1fIwh8sEzemYWeIC*>
It's definitely a reinvite.
-- Alex
--
Alex Balashov | Principal | Evariste Systems LLC
303 Perimeter Center North, Suite 300
Atlanta, GA 30346
United States
Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web:
http://www.evaristesys.com/,
http://www.csrpswitch.com/