Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] How to handle multiple lines call


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





PostPosted: Wed Jul 08, 2015 11:06 am    Post subject: [asterisk-users] How to handle multiple lines call Reply with quote

Hi,

I am new to asterisk, I have set up the asterisk server and successfully I could make the dialplan between 2 SIPs but when there are more than two sips calling each other, my dialplan seems doing the wrong routing to the sip. Do i need to config anything additionally to asterisk to handle this?


Example:
we have 6 sips
-sip 1 is calling to sip 2
-sip 3 is calling to sip 4

-sip 5 is calling to sip 6



Here is my configuration,
exten => _.,1,Dial(SIP/${EXTEN})


I am waiting for your reply, Thank.


Thyda
Back to top
asterisk_list at earth...
Guest





PostPosted: Wed Jul 08, 2015 11:18 am    Post subject: [asterisk-users] How to handle multiple lines call Reply with quote

On Wednesday 08 Jul 2015, Thyda ENG wrote:
Quote:
Hi,

I am new to asterisk, I have set up the asterisk server and successfully I
could make the dialplan between 2 SIPs but when there are more than two
sips calling each other, my dialplan seems doing the wrong routing to the
sip. Do i need to config anything additionally to asterisk to handle this?

Example:
we have 6 sips
-sip 1 is calling to sip 2
-sip 3 is calling to sip 4
-sip 5 is calling to sip 6

Here is my configuration,
exten => _.,1,Dial(SIP/${EXTEN})

That looks about right, but it's not quite enough information.

Your sip.conf should have the SIP device descriptions in sections labelled [1]
, [2] , [3] , [4] , [5] and [6] , since the bit between the square brackets is
what gets matched against the SIP/____ bit in the Dial() statement.

--
AJS

Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

--
_____________________________________________________________________
-- 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
Back to top
mcgrathr at mail2web.com
Guest





PostPosted: Wed Jul 08, 2015 1:58 pm    Post subject: [asterisk-users] How to handle multiple lines call Reply with quote

Hi Thyda

When you set "exten => _.,1,Dial(SIP/${EXTEN})" Asterisk assume "_.", an match everything on your dialplan including special extensions as "i", "h", etc., these will cause problems onto your system.
If you need to match one or more digits you can use _x and _x.
_x it mean only one pattern digit form 0 to 9
_x. any pattern digit from 0 to 9 and dot it mean remnant digits could be 2 or 3, 4 ... etc., so what ever you dial on sip it will be valid.


Mc GRATH Ricardo
--
_____________________________________________________________________
-- 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
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