List Info

Thread: How to show a debugging remark in a sip or extensions context?




How to show a debugging remark in a sip or extensions context?
user name
2007-01-26 06:55:08
>I would like to show a remark that would show call progress and appear on the CLI screen.
 
I believe what you are looking for is NoOp() within the dial plan. I am not aware of any function calls that provide stderr output directly from the chan_sip.so module.  I am sure that they can be added to the chan_sip.c if you are a coder and wish to attempt that detail of channel debugging.

http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+NoOp

http://www.voip-info.org/wiki/view/Asterisk+variables

Ex:

_s,1,NoOp(Downstream call to - ${CUT(CUT(SIP_HEADER(TO),:,2),,1)})

Would provide the following-

-- Executing NoOp(";SIP/5554444444-85cb", "Downstream call to - 55555555555") in new stack

The ever favorite-

_s,1,NoOp(I am here - $:$)

Hope this helps and what you were wanting to find.

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )