Try this
I have the same problem as David. No matter what I tried, I always see the username of extension (the phone) himself.exten => s,5,SetCIDNum(1234)
and see if the phone displays it
In the following example, when I get a call from somebody, I just see "42" (=my number), but not who's calling me.
Setting the CallerID /CallerIdNum doen't work either: -- Executing SetCIDNum("CAPI[contr2/0142]/113", "1234") in new stack ==> has no effect
Sip.conf snippet:
[general]
context=from_sip port=5060 bindaddr=0.0.0.0 srvlookup=yes canreinvite=no incominglimit=2 disallow=all allow=ulaw allow=alaw
allow=gsm allow=g723.1 allow=g729
[42]
type=friend
host=dynamic username=42
secret=****
dtmfmode=rfc2833
callerid=Philipp Ebneter <42>
callgroup=1 pickupgroup=1
_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users