eamonn doyle
2005-Jan-21 14:26 UTC
[Asterisk-Users] Where is the * servers IP defined for sip phones?
This I am sure is a very easy question, but I can't seem to find the answer. Here is the scenario: cisco 7940g phone has SIP 6.3 firmware applied the file SIP<mac>.cnf does not seem to have a place for it: image_version: P0S3-06-3-00 #line 1 settings line1_name: "5010" ; Line 1 ExtensionUser ID line1_displayname: "5010" ; Line 1 Display Name line1_authname: "5010" ; Line 1 Registration Authentication line1_password: "cisco" ; Line 1 Registration Password line1_shortname: "5010" The SIPDefault.cnf has the proxy addresses is that where it goes? The sip.conf states that this host[phone] is dynamic but either way it must "register" with the * server somehow. It is getting it's tftp files from the * server so I know they are talking. [general] port = 5060 ; Port to bind to (SIP is 5060) bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine) disallow=all allow=ulaw allow=alaw context = from-sip-external ; Send unknown SIP callers to this context callerid = Unknown [5010] type=friend username=5010 secret=cisco context=from-sip callerid="Eamonn" <5010> qualify=1000 host=dynamic nat=yes canreinvite=no mailbox=5010 Also I have seen many examples online and in Paul Mahler's book for one that show host=dynamic and defaultip=some_ip_address in the same context this seems confusing, to me at least. Thanks Eamonn
Asterisk
2005-Jan-21 14:44 UTC
[Asterisk-Users] Where is the * servers IP defined for sip phones?
Make sure that in your SIPDefault.cnf you have # Proxy Server (change for your settings) proxy1_address: 192.168.6.10 # Proxy Server Port proxy1_port: 5060 further comments inline: Julian. eamonn doyle wrote:> This I am sure is a very easy question, but I can't seem to find the > answer. > > Here is the scenario: > > cisco 7940g phone has SIP 6.3 firmware applied > the file SIP<mac>.cnf does not seem to have a place for it: > > image_version: P0S3-06-3-00 > > #line 1 settings > line1_name: "5010" ; Line 1 ExtensionUser ID > line1_displayname: "5010" ; Line 1 Display Name > line1_authname: "5010" ; Line 1 Registration Authentication > line1_password: "cisco" ; Line 1 Registration Password > line1_shortname: "5010" > > The SIPDefault.cnf has the proxy addresses is that where it goes? > > The sip.conf states that this host[phone] is dynamic but either way it > must "register" with the * server somehow. It is getting it's tftp > files from the * server so I know they are talking. > > [general] > > port = 5060 ; Port to bind to (SIP is 5060) > bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine) > disallow=all > allow=ulaw > allow=alaw > context = from-sip-external ; Send unknown SIP callers to this context > callerid = Unknown > > [5010] > type=friend > username=5010 > secret=cisco > context=from-sip > callerid="Eamonn" <5010> > qualify=1000 > host=dynamic > nat=yes > canreinvite=no > mailbox=5010 >try changing: nat=no callerid=Eamonn <5010>> Also I have seen many examples online and in Paul Mahler's book for one > that show host=dynamic and defaultip=some_ip_address in the same context > this seems confusing, to me at least. > > Thanks > Eamonn > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > lists.digium.com/mailman/listinfo/asterisk-users > >