SIP line won't register

peterbokunet
Posts: 19
Member Since:
2008-01-30

We have an XML app where the user can add a line to their phone (or remove it). The phone boots and the line configuration is pushed down to the phone. The phone shows all the configuration information in the web config properly. There is never an attempt to register the line. In the Summary page (via web) it simply appears as unregistered@.

If the same config information is placed in the MAC.cfg the phone will immediately register the line after booting.

Is there a message that needs to be sent to the phone after the configuration is added to a running phone in order to initiate the SIP registration?



aastra4
Posts: 59
Member Since:
2007-02-27
Hi, Do you have set the

Hi,

Do you have set the parameter "dynamic sip: 1" in aastra.cfg?

Even if this one is set, the 2.x firmware does not allow dynamic addition or removal of SIP accounts (this is possible in the 3.x software which is used on the 6739i phone and will also be available on all 67xxi phones in the near future) - only changes to an existing account are possible.
But there is a workaround: In the aastra.cfg or mac.cfg, preconfigure the lines you want to use with a dummy account and set registrar IP to 0.0.0.0. Then change the SIP credentials and registrar IP via XML - this way it will work.

Regards,

aastra4



peterbokunet
Posts: 19
Member Since:
2008-01-30
Interesting

(This is with 2.6.0 on a 43i)

I added the following config (repeating the same values for lines 5-9) to aastra.cfg:

dynamic sip: 1

sip line4 auth name: undefined
sip line4 password: unprovisioned
sip line4 user name: undefined
sip line4 proxy ip: 0.0.0.0
sip line4 proxy port: 5060
sip line4 registrar ip: 0.0.0.0
sip line4 registrar port: 5060
sip line4 display name: unused
sip line4 screen name: unused

When the phone comes up it registers line 1 as expected and the three line buttons work as expected. When line4 is loaded line1 status changes to '403':

Line 	SIP Account 	Status 	Backup Registrar Used?
1	4322@10.1.250.1:5060	403	No
2	4322@10.1.250.1:5060	403	No
3	4322@10.1.250.1:5060	403	No
4	399501@10.1.250.1:5060	Registered	No

The only 39i we have in the office is being used. I may be able to hold off on rolling this until 3.x is available. In the mean time I'll see if I can get some time with the 39i.

Thanks for the reply!



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.