[Asterisk-Users] sip.conf user with defaultip=....worksbutcallerid not settable (= ip)

niels at wxn.nl niels at wxn.nl
Mon Oct 25 06:25:12 MST 2004


I just do a -->> asterisk -rx reload
This picks up the changes in sip.conf for sure :-)

If I comment out the defaultip line then asterisk still uses the IP
address as callerid :-(


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve
Totaro
Sent: Monday, October 25, 2004 3:14 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] sip.conf user with
defaultip=....worksbutcallerid not settable (= ip)

I trust you are stopping and restarting asterisk between changes?

Try commenting out the defaultip line next.


----- Original Message -----
From: <niels at wxn.nl>
To: <asterisk-users at lists.digium.com>
Sent: Monday, October 25, 2004 9:06 AM
Subject: RE: [Asterisk-Users] sip.conf user with defaultip=
....worksbutcallerid not settable (= ip)


No it's the same... it still uses the IP address as callerid

I tried the following ones:


callerid=<1234567>
callerid="1234567"
callerid=1234567



________________________________

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve
Totaro
Sent: Monday, October 25, 2004 2:55 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] sip.conf user with defaultip= ....
worksbutcallerid not settable (= ip)


try is with just "callerid=<1234567>"

----- Original Message ----- 
From: niels at wxn.nl
To: asterisk-users at lists.digium.com
Sent: Monday, October 25, 2004 8:33 AM
Subject: [Asterisk-Users] sip.conf user with defaultip= ....
works butcallerid not settable (= ip)


Hello

I have this in my sip.conf ... it's a cisco which I authenticate
on it's IP adress

this works.. asterisk authenticates sip calls from this IP as
user 1234567 and uses the right context,

only, the CALLERID is the ip adress e.g. 19216801 instead of the
callerid which i try to set using the 'callerid='  field

if I make a user authenticate with his username and password the
callerid part does work

does anyone know what I am doing wrong?


sip.conf:

;Test 123
[1234567]
context=outbound
type=friend
host=192.168.0.1
insecure=very
defaultip=192.168.0.1
username=1234567
callerid="1234567" <1234567>



________________________________


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at 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

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at 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

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at 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



More information about the asterisk-users mailing list