Yate Community Forum

Yate server => Other Yate server issues => Topic started by: flyfish10000 on January 28, 2013, 02:30:33 AM

Title: How to enable SIP Fork(RFC3261)
Post by: flyfish10000 on January 28, 2013, 02:30:33 AM
I have set "fork=enable" in ysipchan.conf, and register account 3002 with 2 devices, then I call 3002 with another device who registers with account 3001. The result is that only one device registered with 3002 begin to ring. Inaccording to RFC3261,   both of the two devices registered with 3002 should ring.

Please tell me how to enable SIP Fork function correctly. Thank you.
Title: Re: How to enable SIP Fork(RFC3261)
Post by: cc08 on January 30, 2013, 03:03:31 AM
If you are using to register the module regfile, then you do not get to do it.
If you are using a module register, then you can only do this by implementing the appropriate logic to the database.
But, IMHO, is not necessary to assign different devices to the same number.

As a workaround, I can offer you the following simple solution.
Assign devices hidden numbers, for example 99991111 and 99991112 and in regfile.conf write:
Code: [Select]
[99991111]
password=pass1
alternatives=3001
[99991112]
password=pass2
alternatives=3001
And then, dial of 3001 you will ring both devices.