Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
walterwn at gmail.com
Guest





PostPosted: Fri May 02, 2008 8:13 pm    Post subject: [asterisk-users] Asending or Round robin with trunks sip Reply with quote

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
Back to top
rob at hillis.dyndns.org
Guest





PostPosted: Fri May 02, 2008 10:47 pm    Post subject: [asterisk-users] Asending or Round robin with trunks sip Reply with quote

SIP channels can't be grouped. What you need when you're dialling is
the following if you want to use all three SIP channels:-

Dial(SIP/troncal-1/${number})
Dial(SIP/troncal-2/${number})
Dial(SIP/troncal-3/${number})

That way if the first Dial fails, it will try the second one and so on.

Walter Willis wrote:
Quote:
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 ???
!DSPAM:481bc0cd112602481815506!
------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

!DSPAM:481bc0cd112602481815506!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services