ludovic coues

Output of Gateway.objects.all()[:3].values_list('name') is (u 'TestGateway',)


Assume this file i just want to change the <gateway name = result which we get 
by above query . i think now your requirements are clear. Just want to change 
name..


<include>
  <gateway name="primo">
  <!--/// account username *required* ///-->
  <param name="username" value="garth84839525sip"/>
  <!--/// auth realm: *optional* same as gateway name, if blank ///-->
  <param name="realm" value="178.62.116.211"/>
  <!--/// username to use in from: *optional* same as  username, if blank ///-->
  <!--<param name="from-user" value="cluecon"/>-->
  <!--/// domain to use in from: *optional* same as  realm, if blank ///-->
  <!--<param name="from-domain" value="asterlink.com"/>-->
  <!--/// account password *required* ///-->
  <param name="password" value="garth52739307pass"/>
  <!--/// extension for inbound calls: *optional* same as username, if blank 
///-->
  <!--<param name="extension" value="cluecon"/>-->
  <!--/// proxy host: *optional* same as realm, if blank ///-->
  <!--<param name="proxy" value="asterlink.com"/>-->
  <!--/// send register to this proxy: *optional* same as proxy, if blank ///-->
  <!--<param name="register-proxy" value="mysbc.com"/>-->
  <!--/// expire in seconds: *optional* 3600, if blank ///-->
  <!--<param name="expire-seconds" value="60"/>-->
  <!--/// do not register ///-->
  <param name="register" value="false"/>
  <!-- which transport to use for register -->
  <!--<param name="register-transport" value="udp"/>-->
  <!--How many seconds before a retry when a failure or timeout occurs -->
  <!--<param name="retry-seconds" value="30"/>-->
  <!--Use the callerid of an inbound call in the from field on outbound calls 
via this gateway -->
  <param name="caller-id-in-from" value="true"/>
  <!--extra sip params to send in the contact-->
  <!--<param name="contact-params" value=""/>-->
  <!-- Put the extension in the contact -->
  <!--<param name="extension-in-contact" value="true"/>-->
  <!--send an options ping every x seconds, failure will unregister and/or mark 
it down-->
  <!--<param name="ping" value="25"/>-->
  <!--<param name="cid-type" value="rpid"/>-->
  <!--rfc5626 : Abilitazione rfc5626 ///-->
  <!--<param name="rfc-5626" value="true"/>-->
  <!--rfc5626 : extra sip params to send in the contact-->
  <!--<param name="reg-id" value="1"/>-->
<param name="dtmf-type" value="rfc2833"/>
<param name="disable-transcoding" value="true"/>
<param name="codec-prefs" value="PCMA"/>
<param name="codec-prefs" value="PCMU"/>
   <variables>
     <variable name="absolute_codec_string" value="PCMA" direction="outbound"/>
   </variables>
  </gateway>
</include>


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8aef3856-5a6a-42a2-9995-46d4dbefd122%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to