[Asterisk-Dev] Parsing out Name and Number out of channel->callerid

Juan Carlos Castro y Castro jcastro at instant.com.br
Tue Jul 19 07:49:13 MST 2005


I'm doing a tweaked monitoring app for Asterisk and I'd like to know if
I have something in the lines of the CALLERIDNAME and CALLERIDNUM
dialplan variables accessible to me in C. What I do have is the
chan->callerid that gets passed to me. This has the whole enchilada like
'"Joe Blow" <4004 at somewhere>'.

I could parse the number out of this myself, but is there a better way?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20050719/c3bbd550/signature.pgp


More information about the asterisk-dev mailing list