[asterisk-users] Help with inbound dialplan
Alex Samad
alex at samad.com.au
Fri Jun 5 05:55:49 CDT 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090605/293915d1/attachment.pgp
More information about the asterisk-users
mailing list