[Home]

Summary:ASTERISK-02579: All Dial commands fail after OSPLookup
Reporter:cfrank (cfrank)Labels:
Date Opened:2004-10-10 13:14:18Date Closed:2008-01-15 15:10:06.000-0600
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:Applications/app_osplookup
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:This seems to be a corruption bug resulting from OSPLookup.

exten => 1119,1,SayDigits(${EXTEN:0})
; exten => 1119,1,OSPLookup(7775551212,xnexus)
exten => 1119,2,Dial(SIP/cisco1,20)

I first tested this dial plan using say digits, and the phone (cicso1) rang.
I then replaced the SayDigits line with OSPLookup line as
follows:

; exten => 1119,1,SayDigits(${EXTEN:0})
exten => 1119,1,OSPLookup(7775551212,xnuxus)
exten => 1119,2,Dial(SIP/cisco1,20)

The OSPLookup call succeeded, but the original Dial
command now fails. Looks like the OSP call corrupted
something:

Oct  9 20:51:34 VERBOSE[1147122624]:     -- Executing Dial("SIP/xlite1-e668", "SIP/cisco1|20") in new stack
Oct  9 20:51:34 DEBUG[1147122624]: Setting NAT on RTP to 0
Oct  9 20:51:34 DEBUG[1147122624]: Outgoing Call for cisco1
Oct  9 20:51:34 DEBUG[1147122624]: Call from user 'cisco1' is 1 out of 0
Oct  9 20:51:34 WARNING[1147122624]: Out of space, can't add anymore
Oct  9 20:51:34 WARNING[1147122624]: Out of space, can't add anymore
Oct  9 20:51:34 WARNING[1147122624]: Out of space, can't add anymore
Oct  9 20:51:34 WARNING[1147122624]: Out of space, can't add anymore
Oct  9 20:51:34 WARNING[1147122624]: Out of space, can't add anymore
Oct  9 20:51:34 WARNING[1147122624]: Out of space, can't add anymore
Oct  9 20:51:34 VERBOSE[1147122624]:     -- Called cisco1
Oct  9 20:51:34 DEBUG[1127425984]: Acked pending invite 102
Comments:By: Mark Spencer (markster) 2004-10-10 13:31:50

I changed SIP_MAX_PACKET to 4096 in CVS head.  That should fix it, but that exceeds the RFC2543 max packet size, so the ability for remote devices to accept it will be up in the air.

By: Russell Bryant (russell) 2004-10-11 22:15:32

the same change has been made in the 1.0 branch

By: Digium Subversion (svnbot) 2008-01-15 15:10:06.000-0600

Repository: asterisk
Revision: 3980

U   branches/v1-0/channels/chan_sip.c

------------------------------------------------------------------------
r3980 | russell | 2008-01-15 15:10:06 -0600 (Tue, 15 Jan 2008) | 3 lines

change SIP_MAX_PACKET to 4096 (bug ASTERISK-2579)
----------------------------------------------------------------------

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=3980