[asterisk-users] Help with inbound dialplan

Danny Nicholas danny at debsinc.com
Fri Jun 5 10:06:40 CDT 2009


If you set call-limit=1 on the spa3102b user, the outgoing call will
"congest" the line and not allow Asterisk to go out to the call waiting.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Alex Samad
Sent: Friday, June 05, 2009 5:56 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Help with inbound dialplan

Hi

I am trying to setup asterisk at home, I have 1 in bound VSP (I have a
register cmd setup for that in asterisk).  At home I have a cordless
phone with 2 line capability - I currently have 2 spa3102's in place to
handle the 2 lines ( I am in the process of buying tdm410 to handle to
handle this and the backup pstn line).

I also have 2 laptops setup with soft sip phones.

What I would like to see happen is when an inbound call comes, I would
like to ring 1 line on the cordless phones - because it sounds really
weird when both the lines ring at the same time. and I would like to see
both the laptops ring if they are connected.

this is what I am looking at using

exten => s,1,Dial(SIP/SPA3102b&SIP/laptop&SIP/tlaptop,20,j)
exten => s,n,VoiceMail(vm at spa3102,u)
exten => s,n,Hangup
exten => s,102,Dial(SIP/SPA3102a&SIP/laptop&SIP/tlaptop,20,j)
exten => s,n,VoiceMail(vm at spa3102,u)
exten => s,n,Hangup
exten => s,203,VoiceMail(vm at spa3102,b)


SPA3102b is line 2, SPA3102b is line 1 on the cordless and laptop &
tlaptop are the laptop SIP definitions.

one problem that happens is that when somebody is making a call on line2
(SPA3102b) outbound, asterisk will still send an inbound call to the
SPA3102b because of call waiting.  Is there some way of avoiding this -
seems silly to me 


Is this the way to do ?

or is there some way to create a gobalvar which is a dynamic dial string,
but I can't figure out how to modify a gobalvar on registration ?

Thanks

Alex





More information about the asterisk-users mailing list