Help on configuring two DID number on one IP

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Help on configuring two DID number on one IP

Postby mindseeker » Fri Nov 16, 2007 10:09 am

Hi,


Can anybody help me, how to configure 2 DID number to ring on 1 server? i manage to configure 1 DID number, but when i try to configure another DID number...it does not ring on my extension...here is my config:

[sip-incoming]
exten => 19235753113,1,Answer
exten => 19235753113,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 19235753113,3,Dial(SIP/9905,55,o)
exten => 19235753113,4,Hangup

///here is the second....but does not ring

[sip-incoming]
exten => 16622585621,1,Answer
exten => 16622585621,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 16622585621,3,Dial(SIP/9906,55,o)
exten => 16622585621,4,Hangup


is it my configuration correct? or in one server there is only one DID number to ring?
mindseeker
 
Posts: 48
Joined: Fri Oct 12, 2007 9:36 pm

Re: Help on configuring two DID number on one IP

Postby krondorl » Fri Nov 16, 2007 10:39 am

mindseeker wrote:Hi,


Can anybody help me, how to configure 2 DID number to ring on 1 server? i manage to configure 1 DID number, but when i try to configure another DID number...it does not ring on my extension...here is my config:

[sip-incoming]
exten => 19235753113,1,Answer
exten => 19235753113,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 19235753113,3,Dial(SIP/9905,55,o)
exten => 19235753113,4,Hangup

///here is the second....but does not ring

[sip-incoming]
exten => 16622585621,1,Answer
exten => 16622585621,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 16622585621,3,Dial(SIP/9906,55,o)
exten => 16622585621,4,Hangup


is it my configuration correct? or in one server there is only one DID number to ring?


In truth, doing what you are asking is more an Asterisk question then a vicidial question, but as I have done this already for a few companies, this is not correct. Just make sure that you are registering to both DIDs and they point to DIFFERENT context names in your sip.conf or iax.conf depending on your DID connection type..
krondorl
 
Posts: 35
Joined: Wed Oct 17, 2007 2:09 pm

Postby mindseeker » Fri Nov 16, 2007 10:47 am

sorry for doing this,...but i really need this to establish, and there si no other person can help me...except this site, hope you understand....
mindseeker
 
Posts: 48
Joined: Fri Oct 12, 2007 9:36 pm

Postby krondorl » Fri Nov 16, 2007 3:58 pm

mindseeker wrote:sorry for doing this,...but i really need this to establish, and there si no other person can help me...except this site, hope you understand....


ok, Change the name of the second [sip-incoming] to something else and point your sip registration that matches to that context. That's all..
krondorl
 
Posts: 35
Joined: Wed Oct 17, 2007 2:09 pm

Postby mindseeker » Fri Nov 16, 2007 4:57 pm

pardon me..could you pls rewrite my second code..it its okay to you..because im also a newbie., i dont really understandy where to change and what to chnge their :-(...


thanks in advance
mindseeker
 
Posts: 48
Joined: Fri Oct 12, 2007 9:36 pm

Postby ramindia » Fri Nov 16, 2007 9:20 pm

Hi

you can not have Duplicate Context

old

[sip-incoming]

new

[sip-incoming1]


ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby mindseeker » Fri Nov 16, 2007 11:53 pm

hi ram..thank you so much for your reply...ok i will do it..


thanks everyone
mindseeker
 
Posts: 48
Joined: Fri Oct 12, 2007 9:36 pm

Postby mindseeker » Sat Nov 17, 2007 1:18 am

hi ram

i modified it already on my extensions.conf and it seems still the call does not arrived on my eyebeam sip 9906 :-( what could be my mistake?


thanks in advance........
mindseeker
 
Posts: 48
Joined: Fri Oct 12, 2007 9:36 pm

Postby mindseeker » Sat Nov 17, 2007 1:36 am

hi ram


i solved my problem now...thanks...
mindseeker
 
Posts: 48
Joined: Fri Oct 12, 2007 9:36 pm


Return to Support

Who is online

Users browsing this forum: jovieticar101, Majestic-12 [Bot] and 147 guests