[Asterisk-Users] two extensions for same phone

Andy Hamilton ciscophonefreak at gmail.com
Tue Jul 19 19:48:58 MST 2005


On 7/19/05, Jerry Geis <geisj at pagestation.com> wrote:
> All,
> 
> I am intersted in having 2 extensions for the same sip phone...
> 
> The reason is when I am using the outgoing spool file to initiate a
> SendText() command
> to my SIP phone I dont want voicemail to answer the call and my text
> message go there.
> 
> I want my outgoing call to FAIL and then I can try again some time later
> to deliver the message.
> 
> Any suggestions on how to do this is appreciated.
> 
> Thanks,
> 
> Jerry
> 

Jerry:

It sounds like what you want to do is have the phone register two
lines (sip.conf)?
Otherwise, you could create two extensions for the phone
(extensions.conf). One of them could be for voice calls where you do
the whole

Dial(SIP/XXX),
Voicemail(xxx)
Hangup

or however it is that you do things on your system.
I'm not familiar with the SendText() command, but I imagine if you had
a second extension that simply lacked the Voicemail(xxx) part, the
message would go through as you desire.

-Andy



More information about the asterisk-users mailing list