[asterisk-users] setting CDR values on failed calls

Nicholas Blasgen nicholas at refractivedialer.com
Wed May 27 19:23:45 CDT 2009


http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+Originate

ActionId and Account can be set.

Nicholas Blasgen
Partner / Network Operations
Refractive Dialer LLC
415.692-5277 (w)
408.497.9796 (c)

Please update your contact records with my new work number.


On Wed, May 27, 2009 at 10:24 AM, John Regal <jregal at gmail.com> wrote:

>  Hi All,
>
> I am relatively new to Asterisk… I have CDR enabled and successfully
> writing to MS SQL server. In my cdr table I am setting the userfield value
> with a line in my dialplan.  If a call is placed to an invalid number (e.g.
> 12125551212), I see a cdr record created, however, my userfield value never
> gets set since the call never made it into the context of my dialplan. I am
> using AMI with the Originate command to invoke the call. How can I set this
> value *before* the call is actually passed to my voip provider (of whom
> quickly responds with “Got SIP response 500 ‘Service Unavailable’ back from
> *myVoipIPaddress*”) ?
>
>
>
> Thanks in advance
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090527/bbb32f1b/attachment.htm 


More information about the asterisk-users mailing list