I'm currently writing a perl interface to the pjsua commandline sip client.
I would like to be able to:
For example... dial
m
sip:1111@127.0.0.1
Call 3 state changed to CALLING
dd
....
Dumping dialog sets:
[out] [est] To: sip:sip:1111@127.0.0.1;tag=as70a64204
...
this list from dd does not tell me the call number associated. So if I
were to call another party and do an attended transfer, I cannot
progmatically reference the sip dialogue to the call number.
Ideally it would show something like this:
Dumping dialog sets:
[out] [est] (Call 3) To: sip:sip:1111@127.0.0.1;tag=as70a64204
If anyone has any pointers for which code to modify in order to show the
call number in the 'dd' output, that would be helpful as I've just dove
into the code today and briefly checked out pjsua_dump()
I would also be interested in adding call numbers to all event messages
so they can be related to a specific dialog.
When I'm done with these changes I would like to contribute the patch.
On 02/24/11 01:50, Mark Murawski wrote:
I'm currently writing a perl interface to the pjsua commandline sip client.
I would like to be able to:
For example... dial
m
sip:1111@127.0.0.1
Call 3 state changed to CALLING
dd
....
Dumping dialog sets:
[out] [est] To: sip:sip:1111@127.0.0.1;tag=as70a64204
...
this list from dd does not tell me the call number associated. So if I
were to call another party and do an attended transfer, I cannot
progmatically reference the sip dialogue to the call number.
Ideally it would show something like this:
Dumping dialog sets:
[out] [est] (Call 3) To: sip:sip:1111@127.0.0.1;tag=as70a64204
If anyone has any pointers for which code to modify in order to show the
call number in the 'dd' output, that would be helpful as I've just dove
into the code today and briefly checked out pjsua_dump()
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org