[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  Paul Chitescu <paulc@v...>
 Subject :  Re: [yate] call fork problem
 Date :  Tue, 20 Jan 2009 14:53:19 +0200
Hi!

Since you are routing the calls to 127.0.0.1 you are creating an extra pair of 
SIP call legs for each extension!

incoming -> fork -> 1000@1... (out) -> 1000@1... (in) -> 1000@....

Please use instead:

.*=fork lateroute/1000 lateroute/1001 lateroute/1002;stoperror=busy

This will delay the per extension routing until the outgoing call leg attempt 
for each extension.

Regards,

Paul


On Tuesday 20 January 2009 14:03:02 Raffaele P. Guidi wrote:
> Hi, I'm trying to make three local (sip) extensions ring when a call
> comes in from an external provider. The first who picks up the call
> gets connected and the other ones stop ringing. It seems a job for
> callfork! I tried the configuration below but it actually creates TWO
> calls per extension! It otherwise works as expected. Any clue?
>
> Thanks,
>    Raffaele
>
> ; regexroute.conf
>
> [default]
> ...
> ^5352923$=goto from_extprovider
>
> [from_extprovider]
> ^.*$=fork sip/sip:1000@1... sip/sip:1001@1...
> sip/sip:1002@1...;stoperror=busy