[Asterisk-Users] Problem with CID matching

Steve Radich stever at bitshop.com
Thu Jun 19 21:01:44 MST 2003


I'm having a problem with Caller ID matching.  The call is coming in via
IAX2 to our system, the caller id doesn't seem to parse right.

I just got the latest CVS version an hour ago or so.

Relative extensions are pretty simple:

[disaid]
;
; Check caller id for disa access
;
exten => s,1,Wait,0
exten => s/7031234567,1,goto,disa|s|1
exten => s,2,congestion

[main]
exten => _13019876543,1,Goto,disaid|s|1

I've tried a few variations.

IAX2 debug shows:

   VERSION         : 2
   CALLED NUMBER   : 13019876543
   CALLING NUMBER  : 7031234567
   ANI             : 7031234567
   LANGUAGE        : en
   USERNAME        : xxxxxx
   FORMAT          : 4
   CAPABILITY      : 2147483519
   ADSICPE         : 2

The result is executed congestion on the call even though the caller id
matches.

This should work I would think even though the caller id is coming across
IAX2 instead of a zap interface.  

Obviously I've changed the numbers to be not real ones, but they all match
like the changed values.

Thanks,

Steve Radich
BitShop, Inc.




More information about the asterisk-users mailing list