[asterisk-users] call forking feature

Kyle Gibbons bobert5064 at gmail.com
Mon Apr 21 20:55:37 CDT 2008


As the previous person said, Asterisk will only accept one phone for each
SIP account.

In order to do what you are trying to do, you will want to create 2 entries
in sip.conf such as [1000] and [1001]

After that, you will need to set it up in extensions.conf you will create an
extension that calls both SIP channels at once as shown belop

exten => 1234,1,Answer()
exten => 1234,n,Dial(SIP/1000&SIP/1001)
exten => 1234,n,Hangup()

This will cause both phones to ring simultaneously. The first phone that
picks up will be connected to the call, and the other will stop wringing.
Hope this helps.

P.S. You could even have it dump out to a common voicemail box be inserting
the voicemail() application before the Hangup() line.

On Thu, Apr 17, 2008 at 7:21 AM, Grey Man <greymanvoip at gmail.com> wrote:

> Asterisk only allows a single contact per SIP account so to do forking
> you'll need to use two SIP accounts and put them both in the Dial
> command. Or you could use OpenSER.
>
> Regards,
>
> Greyman.
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
All the best,
Kyle

bobert5064.deviantart.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080421/6c1a14d9/attachment.htm 


More information about the asterisk-users mailing list