Yate server > Other Yate server issues

How to enable SIP Fork(RFC3261)

(1/1)

flyfish10000:
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:
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: ---[99991111]
password=pass1
alternatives=3001
[99991112]
password=pass2
alternatives=3001

--- End code ---
And then, dial of 3001 you will ring both devices.

Navigation

[0] Message Index

Go to full version