[asterisk-users] Realtime Registration

Edwin Lam edwin.lam at officegeneral.com
Tue Dec 13 18:32:46 CST 2011


On 12/10/11 9:54 PM, Takehiro Matsushima wrote:
>
> I'd configured realtime registration, but configuration was not applied when I
> changed a row of sippeers table.
> To apply, 'sip reload' was needed (in Asterisk 1.8.0).

or you can 'sip prune realtime <extension>'


> (On 12/08/2011 03:42), Andrew O. Zhukov wrote:
>> No secrets :)
>>
>> SELECT * FROM sippeers WHERE name = '105680' AND host = 'dynamic'
>>
>> "name"|"type"|"username"|"secret"|"fromuser"|"fromdomain"|"nat"|"context"|"canreinvite"|"disallow"|"allow"|"host"|"insecure"|"port"|"ipaddr"|"outboundproxy"
>>
>> "105680"|"peer"|"testbutton2"|"XXX"|""|"button.ipshka.com:5060"|"no"|"button"|"no"|"all"|"speex;ulaw;alaw;g729;ilbc;g726;g726aal2;slin;lpc10;adpcm;g723"|"dynamic"|"port,invite"|"5060
>> "|""|"ipshka.com"
>>
>>
>> On 12/07/2011 08:04 PM, Jonathan Rose wrote:
>>> [Dec 7 19:31:18] ERROR[4217]: chan_sip.c:9940 register_verify: Peer
>>> '105680' is trying to register, but not configured as host=dynamic
>>>
>>> Going on this, I'd say you probably tried to specify the host with a
>>> static IP address or a host name. If that's the case, you can't
>>> register, because that would be against the whole point of
>>> registering in the first place.
>>>
>>> You should probably post the DB entry for this peer to this thread
>>> to make things simpler... if it doesn't contain sensitive data. Of
>>> course, you can censor that out too.
>>>
>>> ----- Original Message -----
>>> From: "Andrew O. Zhukov"<gnugk at telegroup.com.ua>
>>> To: asterisk-users at lists.digium.com
>>> Sent: Wednesday, December 7, 2011 11:56:20 AM
>>> Subject: [asterisk-users] Realtime Registration
>>>
>>> [Dec 7 19:31:18] DEBUG[4217]: res_config_pgsql.c:821 pgsql_reconnect:
>>> Postgresql RealTime: Everything is fine.
>>> [Dec 7 19:31:18] DEBUG[4217]: res_config_pgsql.c:201 realtime_pgsql:
>>> Postgresql RealTime: Result=0x12e4edd0 Query: SELECT * FROM sippeers
>>> WHERE name = '105680' AND host = 'dynamic'
>>> [Dec 7 19:31:18] DEBUG[4217]: res_config_pgsql.c:209 realtime_pgsql:
>>> Postgresql RealTime: Found 1 rows.
>>> [Dec 7 19:31:18] ERROR[4217]: chan_sip.c:9940 register_verify: Peer
>>> '105680' is trying to register, but not configured as host=dynamic
>>>
>>> Any suggestions???
>>>
>>>
>>> Asterisk 1.4.42
>>>


-- 
Edwin Lam <edwin.lam at officegeneral.com>
Systems Engineer, OfficeWyze, Inc.
Ph: +1 415 439 4988 Fax: +1 415 283 3370
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20




More information about the asterisk-users mailing list