[asterisk-dev] chan_sip.c - no reply to critical packet
Gregory Boehnlein
damin at nacs.net
Sat Jan 31 13:08:00 CST 2009
> > Remote-Party-ID: "pending"
> > <sip:4404530804 at 207.166.192.180>;party=calling;screen=yes;privacy=off
> >
> > The Info packet contains an update to the RPID line:
> >
> > Remote-Party-ID: "Cell Phone OH"
> > <sip:207.166.192.180>;party=called;screen=no;privacy=off
> >
> > So.. there has to be a way to have the Cisco wait to initiate the SIP
call
> > until the Q.931 data is received so that the RPID is sent in the
initial
> > invite....
> >
> > Anyone have any ideas?
>
> It's been a while since I worked on a cisco voice platform, but unless
> things have changed in the past few years I think the only way your
> going to get a delay is to use a TCL script.
>
> Before I sent off this message and show how out of the cisco voice game
> I am I did some googling to see if there was a better answer and found:
> http://blog.krisk.org/2007/07/whats-my-name.html
>
> Not sure exactly which part of the cisco config does the magic but its
> in there somewhere.
Right now, I am looking at the following settings:
sip-ua
timers buffer-invite 1024
I believe this is what I'm looking for, but I need some time and some call
traces to verify:
From:
http://www.cisco.com/en/US/docs/ios/voice/sip/configuration/guide/sip_cg-msg
_tmr_rspns.html
"Step 4
timers buffer-invite timer
Example:
Router(config-sip-ua)# timers buffer-invite 500
Enables the SIP buffer-invite timer and sets the timer interval. The
argument is as follows:
.timer-Buffer-invite timer value, in ms. Range: 50 to 5000."
I'm currently using a value of 1024 ms or 1 second. I believe this will
prevent the Invite from being sent until 1 second after the Q.931 setup has
been received, and the subsequent receive of the "Information Update"
element.
Jan 31 13:57:45: ISDN Se1/0:23 Q931: RX <- SETUP pd = 8 callref = 0x1809
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98387
Exclusive, Channel 7
Facility i = 0x9F8B0100A10F02017806072A8648CE1500040A0100
Protocol Profile = Networking Extensions
0xA10F02017806072A8648CE1500040A0100
Component = Invoke component
Invoke Id = 120
Operation = InformationFollowing (calling_name)
Progress Ind i = 0x8281 - Call not end-to-end ISDN, may have in-band
info
Calling Party Number i = 0x2183, '8003952274'
Plan:ISDN, Type:National
Called Party Number i = 0xA1, '2169203099'
Plan:ISDN, Type:National
Jan 31 13:57:45: ISDN Se1/0:23 Q931: RX <- FACILITY pd = 8 callref = 0x1809
Facility i = 0x9F8B0100A1080201790201008400
Protocol Profile = Networking Extensions
0xA1080201790201008400
Component = Invoke component
Invoke Id = 121
Operation = CallingName
Name not available
More information about the asterisk-dev
mailing list