Author Topic: How to enable SIP Fork(RFC3261)  (Read 8153 times)

flyfish10000

  • Guest
How to enable SIP Fork(RFC3261)
« 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.

cc08

  • Guest
Re: How to enable SIP Fork(RFC3261)
« Reply #1 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.