[asterisk-users] problems originating an outgoing IAX2 call

nik600 nik600 at gmail.com
Sun Apr 18 12:43:40 CDT 2010


Dear all

i'm trying to originate an outgoing call with the command originate,
from Asterisk's CLI i'm typing:

CLI> originate  IAX2/my-iax-provider/number2call application wait 10
[Apr 18 19:31:12] DEBUG[32331]: chan_iax2.c:4000 create_addr:
prepending 40 to prefs
    -- Call accepted by 62.149.202.150 (format ilbc)
    -- Format for call is ilbc
    -- Hungup 'IAX2/my-iax-provider-5647'

... and nothing happend.... the hangup is given after 3-4 seconds of the command

But, if i try to call a dialplan extenstion from a local IAX user the
call works properly

[outgoing_voipvoice]
exten => _X.,1,Dial(IAX2/my-iax-provider/${EXTEN})

    -- Accepting AUTHENTICATED call from 82.56.46.69:
       > requested format = gsm,
       > requested prefs = (),
       > actual format = gsm,
       > host prefs = (),
       > priority = mine
    -- Executing [number2call at outgoing_voipvoice:1]
Dial("IAX2/localuser-3519", "IAX2/my-iax-provider/number2call") in new
stack
[Apr 18 19:34:22] DEBUG[32577]: chan_iax2.c:4000 create_addr:
prepending 2 to prefs
    -- Called my-iax-provider/number2call
    -- Call accepted by 62.149.202.150 (format ilbc)
    -- Format for call is ilbc
    -- IAX2/my-iax-provider-25 is making progress passing it to
IAX2/localuser-3519
    -- IAX2/my-iax-provider-25 is ringing
    -- IAX2/my-iax-provider-25 is making progress passing it to
IAX2/localuser-3519
    -- IAX2my-iax-provider-25 stopped sounds
    -- IAX2/my-iax-provider-25 answered IAX2/localuser-3519
    -- Operating with different codecs 2[0x2 (gsm)] 1024[0x400 (ilbc)]
, can't native bridge...
    -- Hungup 'IAX2/my-iax-provider-25'
  == Spawn extension (outgoing_voipvoice, number2call, 1) exited
non-zero on 'IAX2/localuser-3519'
    -- Hungup 'IAX2/localuser-3519'

I'm having the same problem using the dial from console:

CLI> console dial number2call at outgoing_voipvoice
    -- Executing [number2call at outgoing_voipvoice:1]
Dial("Console/dsp", "IAX2/ my-iax-provider/number2call") in new stack
[Apr 18 19:39:42] DEBUG[32645]: chan_iax2.c:4000 create_addr:
prepending 40 to prefs
    -- Called  my-iax-provider/number2call
    -- Call accepted by 62.149.202.150 (format ilbc)
    -- Format for call is ilbc
    -- IAX2/my-iax-provider-361 is circuit-busy
    -- Hungup 'IAX2/my-iax-provider-361'
  == Everyone is busy/congested at this time (1:0/1/0)

Have you got any idea?

Thanks to all in advance

-- 
/*************/
nik600
http://www.kumbe.it



More information about the asterisk-users mailing list