[asterisk-users] Realtime Registration

Andrew O. Zhukov gnugk at telegroup.com.ua
Wed Dec 7 12:42:11 CST 2011


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
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                 http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                 http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list