[asterisk-users] Asending or Round robin with trunks sip

Walter Willis walterwn at gmail.com
Fri May 2 20:13:57 CDT 2008


i am conecting to the provider voip with 50 logings and can not use trunk
the configuring sip.conf with
...
register => 10001:abc at xxx.xxx.xxx.xxx
register => 10002:abc at xxx.xxx.xxx.xxx
register => 10003:abc at xxx.xxx.xxx.xxx

....

[troncal-1]
 type=peer
 secret=abc
 username=10001
 host=xxx.xxx.xxx.xxx
 fromuser=10001
 fromdomain=xxx.xxx.xxx.xxx
 nat=no
 context=troncal-sip
qualify=yes
disallow=all
allow=g729
callgroup=1

[troncal-2]
 type=peer
 secret=abc
 username=10002
 host=xxx.xxx.xxx.xxx
 fromuser=10002
 fromdomain=xxx.xxx.xxx.xxx
 nat=no
 context=troncal-sip
qualify=yes
disallow=all
allow=g729
callgroup=1

[troncal-3]
 type=peer
 secret=abc
 username=10003
 host=xxx.xxx.xxx.xxx
 fromuser=10003
 fromdomain=xxx.xxx.xxx.xxx
 nat=no
 context=troncal-sip
qualify=yes
disallow=all
allow=g729
callgroup=1


and extension.conf :
[troncal-sip] it is configuration work
exten => _X.,1,Answer
exten => _X.,2,Dial(SIP/${EXTEN}@troncal-1,,r)
exten => _X.,3,Dial(SIP/${EXTEN}@troncal-2,,r)
exten => _X.,4,Dial(SIP/${EXTEN}@troncal-3,,r)
exten => _X.,5,Hangup


i am ascending with 3 lines
[troncal-sip] it is configuration no work
exten => _X.,1,Answer
exten => _X.,2,Dial(SIP/g1/${EXTEN})
exten => _X.,3,Hangup


the error is
*CLI>
    -- Executing [5174204843 at troncal-sip:1]
Answer("SIP/327289521558-b6d30d68", "") in new stack
    -- Executing [5174204843 at troncal-sip:2]
Dial("SIP/327289521558-b6d30d68", "SIP/g1/74555555") in new stack
[May  2 20:00:09] WARNING[19588]: chan_sip.c:2867 create_addr: No such host:
g1
[May  2 20:00:09] WARNING[19588]: app_dial.c:1111 dial_exec_full: Unable to
create channel of type 'SIP' (cause 3 - No route to destination)
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [5174204843 at troncal-sip:3]
Hangup("SIP/327289521558-b6d30d68", "") in new stack
  == Spawn extension (troncal-sip, 74555555, 3) exited non-zero on
'SIP/327289521558-b6d30d68'


how to group work fine ???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080502/ef44c4ec/attachment-0001.htm 


More information about the asterisk-users mailing list