[Sems] logging the calling_number in MyCC application

Stefan Sayer stefan.sayer at iptego.de
Tue Oct 30 19:01:03 CET 2007


Hello,

you can either use the SIP dialog's properties directly 
(dlg.remote_party or dlg.remote_uri), or save all call information you 
get in the invite in onSessionStart function, e.g. req.from or 
req.from_uri, and pass it along in the stopAccounting function.

hht
Stefan

Jayesh Nambiar wrote:
> Hi,
> In the MyCC application I had a requirement to send the calling number 
> i.e. the username part in the from_uri when the stop_accounting() 
> function is called.
> Is there any way in the code to collect the from username on INVITE and 
> pass it to cc_acc_xmlrpc through DI interface when the stop_accounting() 
> function is called??
> 
> 
> Any help will be highly appreciated.
> 
> Thanks in advance !!
> 
> w/regards,
> Jayesh
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Sems mailing list
> Sems at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/sems

-- 
Stefan Sayer
VoIP Services

stefan.sayer at iptego.de
www.iptego.de

iptego GmbH
Am Borsigturm 40
13507 Berlin
Germany

Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann


More information about the Sems mailing list