[asterisk-users] WARNING chan_sip.c:3115 __sip_xmit

satish patel satish_lx at hotmail.com
Thu Apr 7 16:02:30 CDT 2011


Yes! You are right! Its working. Now issue is we have SIP extension for 
local office users and same number has IAX extension for remote 
traveling users. How could i use ChanIsAvail with best action ?

I did following 

exten => s,1,ChanIsAvail(${ARG2}&IAX2/${ARG1},20,t)
exten => s,n,NoOp(${AVAILCHAN})
exten => s,n,Set(NewVar=${CUT(AVAILCHAN,,1)})
exten => s,n,NoOp(${NewVar})
exten => s,n,Dial(${NewVar}/${EXTEN})
exten => s,n,Hangup()



And in result i got following: Why its looking at IAX2/0.0.29.199  what is 0.0.29.199?

shirley*CLI>
  == Using SIP RTP CoS mark 5
    -- Executing [7623 at from-sip:1] Macro("SIP/7527-0000004c", "stdexten,7623,SIP/7623") in new stack
    -- Executing [s at macro-stdexten:1] ChanIsAvail("SIP/7527-0000004c", "SIP/7623&IAX2/7623,20,t") in new stack
    -- Hungup 'IAX2/0.0.29.199:4569-2707'
    -- Executing [s at macro-stdexten:2] NoOp("SIP/7527-0000004c", "IAX2/0.0.29.199:4569-2707") in new stack
    -- Executing [s at macro-stdexten:3] Set("SIP/7527-0000004c", "NewVar=IAX2/0.0.29.199:4569") in new stack
    -- Executing [s at macro-stdexten:4] NoOp("SIP/7527-0000004c", "IAX2/0.0.29.199:4569") in new stack
    -- Executing [s at macro-stdexten:5] Dial("SIP/7527-0000004c", "IAX2/0.0.29.199:4569/s") in new stack
    -- Called 0.0.29.199:4569/s
[Apr  7 16:59:21] NOTICE[13915]: chan_iax2.c:4643 __auto_congest: Auto-congesting call due to slow response
    -- IAX2/0.0.29.199:4569-3390 is circuit-busy
    -- Hungup 'IAX2/0.0.29.199:4569-3390'
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [s at macro-stdexten:6] Hangup("SIP/7527-0000004c", "") in new stack
  == Spawn extension (macro-stdexten, s, 6) exited non-zero on 'SIP/7527-0000004c' in macro 'stdexten'
  == Spawn extension (from-sip, 7623, 1) exited non-zero on 'SIP/7527-0000004c'




> To: asterisk-users at lists.digium.com
> From: isrlgb at gmail.com
> Date: Thu, 7 Apr 2011 20:49:04 +0000
> Subject: Re: [asterisk-users] WARNING chan_sip.c:3115 __sip_xmit
> 
> That should be CUT all caps I think
> -----Original Message-----
> From: satish patel <satish_lx at hotmail.com>
> Sender: asterisk-users-bounces at lists.digium.com
> Date: Thu, 7 Apr 2011 20:45:21 
> To: asterisk-users<asterisk-users at lists.digium.com>
> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
> 	<asterisk-users at lists.digium.com>
> Subject: Re: [asterisk-users] WARNING chan_sip.c:3115 __sip_xmit
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110407/4a86f97f/attachment.htm>


More information about the asterisk-users mailing list